mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 03:59:59 +01:00
Prevent loops with del_on_death var for simple mobs
Same principle as the fix for DROPDEL
This commit is contained in:
@@ -301,6 +301,9 @@
|
||||
if(del_on_death)
|
||||
ghostize()
|
||||
stat = DEAD
|
||||
//Prevent infinite loops if the mob Destroy() is overriden in such
|
||||
//a manner as to cause a call to death() again
|
||||
del_on_death = FALSE
|
||||
qdel(src)
|
||||
else
|
||||
health = 0
|
||||
|
||||
Reference in New Issue
Block a user