diff --git a/src/modules/timer/Timer.cpp b/src/modules/timer/Timer.cpp index e96f91146..83a0b0d0c 100644 --- a/src/modules/timer/Timer.cpp +++ b/src/modules/timer/Timer.cpp @@ -90,7 +90,7 @@ double Timer::step() void Timer::sleep(double seconds) const { - if (seconds > 0) + if (seconds >= 0) love::sleep((unsigned int)(seconds*1000)); }