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

This commit is contained in:
nixnoxus 2023-12-23 10:52:50 +01:00
parent b70f7ac459
commit da5f91b0f6
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 = default_walk_chance
self.jump = true
self:set_animation("stand")
-- TODO: Add sitting model