mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-21 06:52:07 +00:00
- Fixes issue 748. Pulling restrained monkeys now behaves as it's supposed to.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4462 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -413,8 +413,8 @@
|
||||
if (restrained())
|
||||
for(var/mob/M in range(src, 1))
|
||||
if ((M.pulling == src && M.stat == 0 && !( M.restrained() )))
|
||||
return 0
|
||||
if ((t7 && pulling && get_dist(src, pulling) <= 1))
|
||||
t7 = null
|
||||
if (t7 && (pulling && get_dist(src, pulling) <= 1))
|
||||
if (pulling.anchored)
|
||||
stop_pulling()
|
||||
var/T = loc
|
||||
@@ -422,7 +422,7 @@
|
||||
if (!( isturf(pulling.loc) ))
|
||||
stop_pulling()
|
||||
return
|
||||
if (!( restrained() ))
|
||||
if (!buckled)
|
||||
var/diag = get_dir(src, pulling)
|
||||
if ((diag - 1) & diag)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user