forked from VoxeLibre/VoxeLibre
fix 'WARNING[Server]: Undeclared global variable "default_walk_chance" accessed'
This commit is contained in:
parent
b70f7ac459
commit
da5f91b0f6
|
@ -319,7 +319,7 @@ function mob_class:toggle_sit(clicker,p)
|
|||
particle = "mobs_mc_wolf_icon_roam.png"
|
||||
self.order = "roam"
|
||||
self.state = "stand"
|
||||
self.walk_chance = default_walk_chance
|
||||
--self.walk_chance = default_walk_chance
|
||||
self.jump = true
|
||||
self:set_animation("stand")
|
||||
-- TODO: Add sitting model
|
||||
|
|
Loading…
Reference in New Issue