forked from VoxeLibre/VoxeLibre
Remove duplicate code that has been moved.
This commit is contained in:
parent
8a771ebfce
commit
0787d7a988
|
@ -325,14 +325,6 @@ function mob_class:do_states(dtime)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local function update_timers (self, dtime)
|
|
||||||
-- knockback timer. set in on_punch
|
|
||||||
if self.pause_timer > 0 then
|
|
||||||
self.pause_timer = self.pause_timer - dtime
|
|
||||||
return true
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
function mob_class:outside_limits()
|
function mob_class:outside_limits()
|
||||||
local pos = self.object:get_pos()
|
local pos = self.object:get_pos()
|
||||||
if pos then
|
if pos then
|
||||||
|
|
Loading…
Reference in New Issue