Update ECSAPI.lua

This commit is contained in:
Igor Timofeev 2015-08-21 17:07:58 +03:00
parent a78dfd7472
commit f3d2e64e92

View File

@ -68,7 +68,7 @@ function ECSAPI.setScale(scale, debug)
end
--Собсна, арсчет масштаба
local xScreens, yScreens = screen.getAspectRatio()
local xScreens, yScreens = component.screen.getAspectRatio()
local xPixels, yPixels = calculateAspect(xScreens), calculateAspect(yScreens)
@ -1123,5 +1123,7 @@ end
-- if not success then ECSAPI.displayCompileMessage(1, reason, true) end
-- ECSAPI.select("auto", "auto", " ", {{"С твоим компом опять хуйня!"}}, {{"Блядь!"}})
-- ECSAPI.error("Да иди ты на хуй, чмо, я мать твою на хую")
ECSAPI.setScale(1)
return ECSAPI