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:
committed by
CitadelStationBot
parent
fef23bd7cc
commit
5e29e77f37
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user