diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-21 18:08:36 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-04-21 18:08:36 +0100 |
commit | 4d3438aeed1bac581fefd720355633139e297b73 (patch) | |
tree | d516d14acecff01a9096ff949d62621a760b3091 | |
parent | 30e11573925007f413d75be90a2de40ae9089e63 (diff) |
fixed undeclared yaw variable
-rw-r--r-- | api.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1115,6 +1115,8 @@ end -- execute current state (stand, walk, run, attacks) local do_states = function(self, dtime) + local yaw = 0 + if self.state == "stand" then if math.random(1, 4) == 1 then |