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 246e5352b6
commit 7804459f96
1 changed files with 1 additions and 1 deletions

View File

@ -322,7 +322,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