Refactor Move() code

This commit is contained in:
Aronai Sieyes
2020-04-27 10:08:55 -04:00
parent ab179d74a2
commit bc1fa7bd05
42 changed files with 345 additions and 407 deletions
+2 -3
View File
@@ -372,10 +372,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
following = null
return ..()
/mob/Move()
/mob/Moved(atom/old_loc, direction, forced = FALSE)
. = ..()
if(.)
update_following()
update_following()
/mob/Life()
// to catch teleports etc which directly set loc