Fixes cremation of self-deleting mobs

This commit is contained in:
Krausus
2016-08-03 19:21:36 -04:00
parent f4e26a1272
commit c8989b36e1
+2
View File
@@ -361,6 +361,8 @@
user.attack_log +="\[[time_stamp()]\] <font color='red'>Cremated [M.name] ([M.ckey])</font>"
log_attack("[user.name] ([user.ckey]) cremated [M.name] ([M.ckey])")
M.death(1)
if(!M || !isnull(M.gcDestroyed))
continue // Re-check for mobs that delete themselves on death
M.ghostize()
qdel(M)