summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-10-14 18:47:04 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-10-14 18:47:04 +0100
commit3f61935a07a499b972a949ad13656ba953f9bde7 (patch)
tree7609502e9dc55184aa296013c208ecfc5b2b3cce /api.lua
parente3e00b24a0fedcc9960d0582612cff56a643e4c0 (diff)
See if this fixes animals glitching out of enclosures
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/api.lua b/api.lua
index 894dcac..88da0c2 100644
--- a/api.lua
+++ b/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