This commit is contained in:
Igor Timofeev 2017-01-15 02:56:06 +03:00
parent 45342e7d8f
commit faec76131c
2 changed files with 4 additions and 3 deletions

View File

@ -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",

View File

@ -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