Oops, forgot a return when removing mob
This commit is contained in:
parent
50009304b8
commit
6568817c3d
3
api.lua
3
api.lua
@ -1,4 +1,4 @@
|
||||
-- Mobs Api (27th September 2015)
|
||||
-- Mobs Api (4th October 2015)
|
||||
mobs = {}
|
||||
mobs.mod = "redo"
|
||||
|
||||
@ -1085,6 +1085,7 @@ end
|
||||
if mobs.remove and self.remove_ok and not self.tamed then
|
||||
print ("REMOVED", self.remove_ok, self.name)
|
||||
self.object:remove()
|
||||
return
|
||||
end
|
||||
self.remove_ok = true
|
||||
self.attack = nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user