diff --git a/Applications.cfg b/Applications.cfg index 14ce26a4..77c5a0ea 100644 --- a/Applications.cfg +++ b/Applications.cfg @@ -4,7 +4,7 @@ url="https://raw.githubusercontent.com/IgorTimofeev/OpenComputers/master/OS.lua", type="Script", forceDownload=true, - version=4.13, + version=4.14, }, { path="/MineOS/Pictures/MoonTouch.pic", diff --git a/OS.lua b/OS.lua index 189d94b2..0c563bc7 100755 --- a/OS.lua +++ b/OS.lua @@ -72,7 +72,7 @@ local function biometry(creatingNew) fingerImage.eventHandler = function(mainContainer, object, eventData) if eventData[1] == "touch" then scanLine:addAnimation( - function(mainContainer, object, animation) + function(mainContainer, animation) scanLine.hidden = false if animation.position <= 0.5 then scanLine.localY = math.floor(fingerImage.localY + fingerImageHeight - fingerImageHeight * animation.position * 2 - 1) @@ -80,7 +80,7 @@ local function biometry(creatingNew) scanLine.localY = math.floor(fingerImage.localY + fingerImageHeight * (animation.position - 0.5) * 2 - 1) end end, - function(mainContainer, switch, animation) + function(mainContainer, animation) scanLine.hidden = true animation:delete()