Ctrl-clicking mobs is consistent in that it upgrades grabs (#35547)

cl Jittai
tweak: Ctrl+Clicking progresses through grab cycle on living mobs (not just humans)
/cl
This commit is contained in:
Jittai
2018-02-19 15:41:44 -05:00
committed by CitadelStationBot
parent fef23bd7cc
commit 5e29e77f37
+4 -1
View File
@@ -74,9 +74,12 @@
if(gs==0)
stop_pulling()
return FALSE
// Are we trying to pull something we are already pulling? Then just stop here, no need to continue.
// Are we trying to pull something we are already pulling? Then enter grab cycle and end.
if(AM == pulling)
grab_state = gs
if(istype(AM,/mob/living))
var/mob/living/AMob = AM
AMob.grabbedby(src)
return TRUE
stop_pulling()
if(AM.pulledby)