Attempt to fix mech and fighter movement issues within space. (#7376)

* Attempt to fix mech and fighter movement issues within space.

Here is the issue in question: https://github.com/VOREStation/VOREStation/issues/8438

* Update Mecha.dm to fix #7376 request
This commit is contained in:
Kates
2020-07-31 22:14:37 -07:00
committed by GitHub
parent 8d731a153b
commit f9d330a080
2 changed files with 11 additions and 2 deletions
+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)
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(!my_mob.Process_Spacemove(0))
return 0