mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-21 07:32:35 +00:00
Merge pull request #7565 from Cyantime/patch-1
Fix ventcrawling while in 0 gravity
This commit is contained in:
@@ -194,7 +194,7 @@
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
// Can't control ourselves when drifting
|
// 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))
|
if(!my_mob.Process_Spacemove(0))
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user