Fixes sprite not updating to not be floating when leaving non-gravity

This commit is contained in:
Yoshax
2016-08-30 21:03:41 +01:00
parent 3df4160714
commit fb98b78eba
+1 -1
View File
@@ -131,7 +131,7 @@ var/const/enterloopsanity = 100
M.lastarea = get_area(M.loc)
if(M.lastarea.has_gravity == 0)
inertial_drift(M)
else if(is_space())
else if(!is_space())
M.inertia_dir = 0
M.make_floating(0)
..()