Update init.lua
This commit is contained in:
parent
80342085d3
commit
59c5fff29b
2
init.lua
2
init.lua
@ -16,11 +16,9 @@ local update = function()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local gravity_timer = 0
|
|
||||||
local action_timer = 0
|
local action_timer = 0
|
||||||
|
|
||||||
local function gravity_globaltimer(dtime)
|
local function gravity_globaltimer(dtime)
|
||||||
gravity_timer = gravity_timer + dtime
|
|
||||||
action_timer = action_timer + dtime
|
action_timer = action_timer + dtime
|
||||||
|
|
||||||
if action_timer > 4 then
|
if action_timer > 4 then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user