mirror of
https://github.com/1bardesign/batteries.git
synced 2024-11-25 23:24:35 +00:00
fixed wrong inequality :)
This commit is contained in:
parent
774965a508
commit
6ce0dfa523
@ -146,7 +146,7 @@ function async.wait(time)
|
|||||||
error("attempt to wait in main thread, this will block forever")
|
error("attempt to wait in main thread, this will block forever")
|
||||||
end
|
end
|
||||||
local now = love.timer.getTime()
|
local now = love.timer.getTime()
|
||||||
while love.timer.getTime() - now > time do
|
while love.timer.getTime() - now < time do
|
||||||
async.stall()
|
async.stall()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user