fixes reactor sometimes not overloading, also an armory bypass

This commit is contained in:
Kyep
2018-08-08 14:55:52 -07:00
parent 5ba99b8f06
commit 0fc53de09c
3 changed files with 22 additions and 7 deletions
@@ -205,8 +205,11 @@
alert_on_shield_breach = TRUE
/mob/living/simple_animal/hostile/syndicate/melee/autogib/depot/armory/death()
if(depotarea)
depotarea.declare_finished()
if(istype(depotarea))
if(depotarea.shield_list.len)
depotarea.activate_self_destruct("[src] has died while the armory shield is up.", FALSE)
else
depotarea.declare_finished()
return ..()