From d7d63368e8de318622095e8eadf30ab0d428f264 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Sun, 23 Aug 2015 16:06:49 +0300 Subject: [PATCH] Update OS.lua --- Applications/OS.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/OS.lua b/Applications/OS.lua index e40a3182..dc873fd6 100644 --- a/Applications/OS.lua +++ b/Applications/OS.lua @@ -343,7 +343,7 @@ local function launchIcon(path, arguments) local cyka = path .. "/" .. ecs.hideFileFormat(fs.name(path)) .. ".lua" local success, reason = shell.execute(cyka) ecs.prepareToExit() - if not success then displayCompileMessage(1, reason, true) end + if not success then ecs.displayCompileMessage(1, reason, true) end --Если это обычный луа файл - т.е. скрипт elseif fileFormat == ".lua" or fileFormat == nil then @@ -353,7 +353,7 @@ local function launchIcon(path, arguments) if success then print("Программа выполнена успешно! Нажмите любую клавишу, чтобы продолжить.") else - displayCompileMessage(1, reason, true) + ecs.displayCompileMessage(1, reason, true) end elseif fileFormat == ".png" then