Fix ventcrawling while in 0 gravity

This commit is contained in:
Cyantime
2020-08-25 14:16:42 -04:00
committed by GitHub
parent f394b1ec47
commit 32f5f04263
+1 -1
View File
@@ -194,7 +194,7 @@
return result
// Can't control ourselves when drifting
if((isspace(loc) || my_mob.lastarea?.has_gravity == 0) && !my_mob.in_enclosed_vehicle) //If(In space or last area had no gravity) or(you in vehicle)
if((isspace(loc) || my_mob.lastarea?.has_gravity == 0) && isturf(loc))
if(!my_mob.Process_Spacemove(0))
return 0