Skip to content

Commit

Permalink
Changed timer interval to get one update per frame and accurate timing
Browse files Browse the repository at this point in the history
Fixes #12
  • Loading branch information
britzl committed Nov 16, 2020
1 parent da5036b commit 644e2d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ludobits/m/flow.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ local function create_or_get(co)
url = msg.url(),
state = READY,
co = co,
timer_id = timer.delay(0.016, true, function(self, handle, time_elapsed)
timer_id = timer.delay(0, true, function(self, handle, time_elapsed)
if not instances[co] then
timer.cancel(handle)
return
Expand Down

0 comments on commit 644e2d6

Please sign in to comment.