Replaces "istype"s with is_helpers macros (#28676)

This commit is contained in:
nicbn
2017-06-22 15:03:19 -03:00
committed by Leo
parent 4ac64a7014
commit 77a2d3f5cd
125 changed files with 192 additions and 184 deletions
+1 -1
View File
@@ -78,7 +78,7 @@
/obj/item/weapon/reagent_containers/food/snacks/grown/ghost_chili/attack_hand(mob/user)
..()
if( istype(src.loc, /mob) )
if( ismob(src.loc) )
held_mob = src.loc
START_PROCESSING(SSobj, src)
+1 -1
View File
@@ -191,7 +191,7 @@
to_chat(usr, "<span class='notice'>\The [src] is full.</span>")
return 0
if(istype(O.loc,/mob))
if(ismob(O.loc))
var/mob/M = O.loc
if(!M.drop_item())
return 0