forked from mtcontrib/mobs_redo
fixed undeclared yaw variable
This commit is contained in:
parent
30e1157392
commit
4d3438aeed
2
api.lua
2
api.lua
@ -1115,6 +1115,8 @@ end
|
|||||||
-- execute current state (stand, walk, run, attacks)
|
-- execute current state (stand, walk, run, attacks)
|
||||||
local do_states = function(self, dtime)
|
local do_states = function(self, dtime)
|
||||||
|
|
||||||
|
local yaw = 0
|
||||||
|
|
||||||
if self.state == "stand" then
|
if self.state == "stand" then
|
||||||
|
|
||||||
if math.random(1, 4) == 1 then
|
if math.random(1, 4) == 1 then
|
||||||
|
Loading…
Reference in New Issue
Block a user