Replaces HasEntered() with Crossed() and reduces redundant checks on turf/Enter()

This commit is contained in:
ZomgPonies
2013-10-28 06:45:15 -04:00
parent 78d2ccb0ef
commit 2c0614d3af
33 changed files with 70 additions and 68 deletions
@@ -635,7 +635,7 @@
del(src)
return
/obj/item/weapon/reagent_containers/food/snacks/grown/bluetomato/HasEntered(AM as mob|obj)
/obj/item/weapon/reagent_containers/food/snacks/grown/bluetomato/Crossed(AM as mob|obj)
if (istype(AM, /mob/living/carbon))
var/mob/M = AM
if (istype(M, /mob/living/carbon/human) && (isobj(M:shoes) && M:shoes.flags&NOSLIP))