until the gladiator is fixed... and makes the loot code better?

This commit is contained in:
Enric Gabriel
2020-07-26 19:00:36 -03:00
parent c488257c4f
commit 2053dcbfcc
2 changed files with 6 additions and 5 deletions
@@ -350,9 +350,10 @@
return 1
/mob/living/simple_animal/proc/drop_loot()
if(loot?.len)
for(var/i in loot)
new i(loc)
if(!length(loot))
return
for(var/i in loot)
new i(loc)
/mob/living/simple_animal/death(gibbed)
movement_type &= ~FLYING