mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Replaces "istype"s with is_helpers macros (#28676)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user