fixed error in metatable definition
This commit is contained in:
1 parent
6e32713004
commit
97b18483a0
1 file changed
+5
-3
@@ -25,9 +25,11 @@ local update_every = function(self, delta)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local metatable = {
|
local metatable = {
|
||||||
reset = function(self, time)
|
__index = {
|
||||||
self.running = time or 0
|
reset = function(self, time)
|
||||||
end,
|
self.running = time or 0
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
local timers = {}
|
local timers = {}
|
||||||
|
|||||||
Reference in new issue
Block a user