mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 02:00:21 +01:00
See if this fixes animals glitching out of enclosures
This commit is contained in:
parent
e3e00b24a0
commit
3f61935a07
7
api.lua
7
api.lua
@ -1,5 +1,5 @@
|
||||
|
||||
-- Mobs Api (9th October 2016)
|
||||
-- Mobs Api (14th October 2016)
|
||||
|
||||
mobs = {}
|
||||
mobs.mod = "redo"
|
||||
@ -566,11 +566,6 @@ do_jump = function(self)
|
||||
max_hear_distance = self.sounds.distance
|
||||
})
|
||||
end
|
||||
else
|
||||
if self.state ~= "attack" then
|
||||
self.state = "stand"
|
||||
set_animation(self, "stand")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user