fixed wrong inequality :)

This commit is contained in:
Max Cahill 2021-11-18 15:18:58 +11:00
parent 774965a508
commit 6ce0dfa523

View File

@ -146,7 +146,7 @@ function async.wait(time)
error("attempt to wait in main thread, this will block forever")
end
local now = love.timer.getTime()
while love.timer.getTime() - now > time do
while love.timer.getTime() - now < time do
async.stall()
end
end