diff --git a/argentum.cfg b/argentum.cfg index 1205f87..07da926 100644 --- a/argentum.cfg +++ b/argentum.cfg @@ -1,7 +1,7 @@ local agcfg = { ["halyde"] = { ["maindir"] = "", - ["version"] = "1.14.1", + ["version"] = "1.14.2", ["description"] = "A universal, customizable and feature-packed operating system for OpenComputers.", ["directories"] = { "halyde/apps", diff --git a/halyde/core/boot.lua b/halyde/core/boot.lua index 0b211fb..d43fb07 100644 --- a/halyde/core/boot.lua +++ b/halyde/core/boot.lua @@ -1,7 +1,7 @@ local loadfile = ... local filesystem = loadfile("/halyde/lib/filesystem.lua")(loadfile) -_G._OSVERSION = "Halyde 1.14.1" +_G._OSVERSION = "Halyde 1.14.2" _G._OSLOGO = "" local handle, tmpdata = filesystem.open("/halyde/config/oslogo.ans", "r"), nil repeat diff --git a/halyde/lib/event.lua b/halyde/lib/event.lua index ef6075f..64547fa 100644 --- a/halyde/lib/event.lua +++ b/halyde/lib/event.lua @@ -1,7 +1,7 @@ local computer = import("computer") local event = {} -local bufferTime = 0.05 -- A little bit of buffer time so events won't be skipped by accident. +local bufferTime = 0.1 -- A little bit of buffer time so events won't be skipped by accident. --local ocelot = component.proxy(component.list("ocelot")()) function event.pull(...) @@ -24,7 +24,7 @@ function event.pull(...) local foundevent = false if evtypes[1] then -- event type(s) specified for _, evtype in pairs(evtypes) do - if evmgr.eventQueue[i][2] == evtype and evmgr.eventQueue[i][1] >= startTime then + if evmgr.eventQueue[i][2] == evtype and evmgr.eventQueue[i][1] >= startTime - bufferTime then foundevent = true end end