Clean up last_area garbo

This commit is contained in:
Aronai Sieyes
2020-04-30 15:42:55 -04:00
parent 8824fb02db
commit 311c4e35df
5 changed files with 3 additions and 16 deletions
+1 -3
View File
@@ -157,9 +157,7 @@ var/const/enterloopsanity = 100
if(ismob(A))
var/mob/M = A
if(!M.lastarea)
M.lastarea = get_area(M.loc)
if(M.lastarea.has_gravity == 0)
if(M.lastarea?.has_gravity == 0)
inertial_drift(M)
if(M.flying) //VORESTATION Edit Start. This overwrites the above is_space without touching it all that much.
inertial_drift(M)