fix 'WARNING[Server]: Undeclared global variable default_walk_chance accessed' [2]

This commit is contained in:
nixnoxus 2024-03-08 19:44:39 +01:00
parent 922a111875
commit 921b811c3b
1 changed files with 1 additions and 1 deletions

View File

@ -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 = 50
self.jump = true
self:set_animation("stand")
-- TODO: Add sitting model