WIP: Changed os.time to os.clock #1

Open
Tornac wants to merge 1 commits from Tornac/blusets:master into master
  1. 4
      bluemage.lua

4
bluemage.lua

@ -333,8 +333,8 @@ end @@ -333,8 +333,8 @@ end
-- desc: Processes the packet queue to be sent.
----------------------------------------------------------------------------------------------------
function bluemage.process_queue()
if (os.time() >= (bluemage.timer + bluemage.delay)) then
bluemage.timer = os.time();
if (os.clock() >= (bluemage.timer + bluemage.delay)) then
bluemage.timer = os.clock();
-- Ensure the queue has something to process..
if (#bluemage.queue > 0) then

Loading…
Cancel
Save