Merge pull request #31138 from KorPhaeron/isstructure

Structure istype define
This commit is contained in:
Leo
2017-09-30 23:31:37 -03:00
committed by GitHub
10 changed files with 18 additions and 16 deletions

View File

@@ -295,7 +295,7 @@
..()
/atom/proc/animate_atom_living(var/mob/living/owner = null)
if((isitem(src) || istype(src, /obj/structure)) && !is_type_in_list(src, GLOB.protected_objects))
if((isitem(src) || isstructure(src)) && !is_type_in_list(src, GLOB.protected_objects))
if(istype(src, /obj/structure/statue/petrified))
var/obj/structure/statue/petrified/P = src
if(P.petrified_mob)