From 109fc5259cc6933c8b8bedd601c66b47b0a6f625 Mon Sep 17 00:00:00 2001 From: Atermonera Date: Thu, 27 Aug 2020 17:34:50 -0700 Subject: [PATCH] Merge pull request #7565 from Cyantime/patch-1 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 3de17ee8ef..92856d72c8 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -197,7 +197,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