Remove duplicate code that has been moved.

This commit is contained in:
ancientmarinerdev 2023-05-08 16:30:40 +01:00
parent 8a771ebfce
commit 0787d7a988

View file

@ -325,14 +325,6 @@ function mob_class:do_states(dtime)
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()
local pos = self.object:get_pos()
if pos then