Structure istype define

This commit is contained in:
Leo
2017-09-30 21:31:57 -05:00
committed by CitadelStationBot
parent aaa2a214cb
commit fd7c9110ca
10 changed files with 25 additions and 15 deletions
@@ -667,7 +667,7 @@
equip_to_appropriate_slot(MYID)
//THIEVING SKILLS END
//-------------TOUCH ME
if(istype(TARGET, /obj/structure))
if(isstructure(TARGET))
var/obj/structure/STR = TARGET
if(main_hand)
var/obj/item/W = main_hand