Test and update.

This commit is contained in:
Ghommie
2020-05-06 01:03:54 +02:00
parent 76e1ee80b7
commit e9ccc3ac62
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -319,8 +319,8 @@
set_pull_offsets(M, state)
/mob/living/proc/set_pull_offsets(mob/living/M, grab_state = GRAB_PASSIVE)
if(M.buckled)
return //don't make them change direction or offset them if they're buckled into something.
if(M.buckled || M.combat_flags & COMBAT_FLAG_COMBAT_ACTIVE)
return //don't make them change direction or offset them if they're buckled into something or in combat mode.
var/offset = 0
switch(grab_state)
if(GRAB_PASSIVE)
+1 -2
View File
@@ -100,8 +100,7 @@
if(mob.throwing)
mob.throwing.finalize(FALSE)
var/atom/movable/P = mob.pulling
if(P && !ismob(P) && P.density)
if(mob.pulling && !(combat_flags & COMBAT_FLAG_COMBAT_ACTIVE))
mob.setDir(turn(mob.dir, 180))
SEND_SIGNAL(mob, COMSIG_MOB_CLIENT_MOVE, src, direction, n, oldloc)