Merge pull request #8572 from VOREStation/upstream-merge-7401

[MIRROR] Fixes null grab runtime breaking mob movement
This commit is contained in:
Novacat
2020-08-02 02:08:44 -04:00
committed by GitHub

View File

@@ -295,7 +295,7 @@
// It's just us and another person
if(grablist.len == 1)
var/mob/M = grablist[1]
if(!my_mob.Adjacent(M)) //Oh no, we moved away
if(M && !my_mob.Adjacent(M)) //Oh no, we moved away
M.Move(pre_move_loc, get_dir(M, pre_move_loc), total_delay) //Have them step towards where we were
// It's a grab chain