Merge pull request #7401 from Verkister/patch-44

Fixes null grab runtime breaking mob movement
This commit is contained in:
Atermonera
2020-08-01 21:20:37 -07:00
committed by VirgoBot
parent f03b38636d
commit 93e0f90479

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