1
0
Fork 0

Add in auto mob removal if something goes horribly wrong

This commit is contained in:
jordan4ibanez 2021-04-20 16:48:20 -04:00
parent 348df0fcec
commit 491ef6c8f8
1 changed files with 1 additions and 0 deletions

View File

@ -574,6 +574,7 @@ mobs.mob_step = function(self, dtime)
--do not continue if non-existent
if not self or not self.object or not self.object:get_luaentity() then
self.object:remove()
return false
end