From d720d361e66d14a3b83a87c6f845d9d51dd1da6b Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Wed, 13 Jul 2016 09:43:36 -0400 Subject: [PATCH] Remove redundant non-nil check --- tiny.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tiny.lua b/tiny.lua index bf674f7..b3bb3b1 100644 --- a/tiny.lua +++ b/tiny.lua @@ -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