mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Pulling fix
Suggested from TG for reasons that it could cause hilarity
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user