mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-07 19:52:40 +01:00
aefae
This commit is contained in:
parent
45342e7d8f
commit
faec76131c
@ -886,7 +886,7 @@
|
||||
icon="IgorTimofeev/OpenComputers/master/Applications/MineCodeIDE/Icon.pic",
|
||||
createShortcut="dock",
|
||||
forceDownload=true,
|
||||
version=1.17,
|
||||
version=1.18,
|
||||
},
|
||||
{
|
||||
name="MineOS/Applications/Battleship",
|
||||
|
||||
@ -301,7 +301,8 @@ local function run()
|
||||
gpu.setBackground(0x262626); gpu.setForeground(0xFFFFFF); gpu.fill(1, 1, oldResolutionX, oldResolutionY, " "); require("term").setCursor(1, 1)
|
||||
|
||||
local xpcallSuccess, xpcallReason = xpcall(loadSuccess, debug.traceback)
|
||||
if xpcallSuccess then
|
||||
local xpcallReasonType = type(xpcallReason)
|
||||
if xpcallSuccess or xpcallReasonType == "table" then
|
||||
MineOSCore.waitForPressingAnyKey()
|
||||
end
|
||||
|
||||
@ -309,7 +310,7 @@ local function run()
|
||||
buffer.start()
|
||||
mainWindow:draw()
|
||||
|
||||
if not xpcallSuccess then
|
||||
if not xpcallSuccess and xpcallReasonType ~= "table" then
|
||||
showErrorMessage(xpcallReason)
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user