Pulling fix

Suggested from TG for reasons that it could cause hilarity
This commit is contained in:
clusterfack
2015-08-19 03:12:26 -04:00
parent d9413f79f1
commit 00e38fb072

View File

@@ -911,7 +911,7 @@ var/list/slot_equipment_priority = list( \
//this and stop_pulling really ought to be /mob/living procs
/mob/proc/start_pulling(var/atom/movable/AM)
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/mob/proc/start_pulling() called tick#: [world.time]")
if ( !AM || !src || src==AM || !isturf(src.loc) ) //if there's no person pulling OR the person is pulling themself OR the object being pulled is inside something: abort!
if ( !AM || !src || src==AM || !isturf(AM.loc) ) //if there's no person pulling OR the person is pulling themself OR the object being pulled is inside something: abort!
return
var/atom/movable/P = AM