From 6ce0dfa5231574d3e496d7792a8750be672cd79c Mon Sep 17 00:00:00 2001 From: Max Cahill <1bardesign@gmail.com> Date: Thu, 18 Nov 2021 15:18:58 +1100 Subject: [PATCH] fixed wrong inequality :) --- async.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async.lua b/async.lua index 480f104..4ebc376 100644 --- a/async.lua +++ b/async.lua @@ -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