Merge pull request #13861 from Incoming5643/once_again_kors_fix_to_a_wizard_mechanic_has_forced_my_hand

Objects created by the staff of animation eventually revert if there's no one to attack
This commit is contained in:
tkdrg
2015-12-25 00:14:42 -03:00

View File

@@ -119,6 +119,8 @@ var/global/list/protected_objects = list(/obj/structure/table, /obj/structure/ca
/mob/living/simple_animal/hostile/mimic/copy/Life()
..()
if(!target && !ckey) //Objects eventually revert to normal if no one is around to terrorize
adjustBruteLoss(1)
for(var/mob/living/M in contents) //a fix for animated statues from the flesh to stone spell
death()
@@ -280,4 +282,4 @@ var/global/list/protected_objects = list(/obj/structure/table, /obj/structure/ca
minimum_distance = 1
return
icon_state = TrueGun.icon_state
icon_living = TrueGun.icon_state
icon_living = TrueGun.icon_state