12-01-2019, 08:18 PM
(This post was last modified: 12-01-2019, 08:22 PM by Urlance Woolsbane. Edited 2 times in total.)
I took a peak at code\mob\wraith.dm in the 2016 release, and it seems this sequence of code (lines 192-197) is culpable:
What this doesn't explain is why the wraith's loc is getting set to null in the first place.
get_turf() is presumably responsible, though I don't know why, nor if the bug is even present in the 2016 release.
Code:
Move(var/turf/NewLoc, direct)
if (loc)
if (!isturf(loc) && !density)
loc = get_turf(loc)
else
loc = locate(1,1,1)
get_turf() is presumably responsible, though I don't know why, nor if the bug is even present in the 2016 release.