From 32f5f04263b8cc50a5bf185a4ba9bfc5888b8b48 Mon Sep 17 00:00:00 2001 From: Cyantime Date: Tue, 25 Aug 2020 14:16:42 -0400 Subject: [PATCH] Fix ventcrawling while in 0 gravity --- code/modules/mob/mob_movement.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index fbf429b6fc..8e3ce6e536 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -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