Function name consistency

This commit is contained in:
ancientmarinerdev 2023-01-02 00:58:23 +00:00
parent 5faf060122
commit f8ae702ce4
3 changed files with 4 additions and 4 deletions

@ -293,13 +293,13 @@ function mob_class:do_states(dtime)
elseif self.state == PATHFINDING then
self:check_gowp(dtime)
elseif self.state == "walk" then
self:do_state_walk()
self:do_states_walk()
elseif self.state == "runaway" then
-- runaway when punched
self:do_states_runaway()
elseif self.state == "attack" then
-- attack routines (explode, dogfight, shoot, dogshoot)
if self:do_state_attack(dtime) then
if self:do_states_attack(dtime) then
return true
end
end

@ -807,7 +807,7 @@ function mob_class:check_aggro(dtime)
self._check_aggro_timer = self._check_aggro_timer + dtime
end
function mob_class:do_state_attack (dtime)
function mob_class:do_states_attack (dtime)
local yaw = self.object:get_yaw() or 0
local s = self.object:get_pos()

@ -793,7 +793,7 @@ function mob_class:teleport(target)
end
end
function mob_class:do_state_walk()
function mob_class:do_states_walk()
local yaw = self.object:get_yaw() or 0
local s = self.object:get_pos()