Remove redundant non-nil check

This commit is contained in:
Calvin Rose 2016-07-13 09:43:36 -04:00
parent d94b178670
commit d720d361e6

View File

@ -809,9 +809,7 @@ function tiny.update(world, dt, filter)
local bufferedTime = (system.bufferedTime or 0) + dt
while bufferedTime >= interval do
bufferedTime = bufferedTime - interval
if update then
update(system, interval)
end
update(system, interval)
end
system.bufferedTime = bufferedTime
else