mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix Schedule:set_timeout
This commit is contained in:
parent
091542da39
commit
1e16ab5464
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ local Schedule = {
|
|||
set_interval = function(self, ms, callback, repetions)
|
||||
local id = self._next_interval
|
||||
self._intervals[id] = {
|
||||
last_called = 0.0,
|
||||
last_called = self._timer,
|
||||
delay = ms / 1000.0,
|
||||
callback = callback,
|
||||
repetions = repetions,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue