mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 15:32:52 +00:00
Fix mothershuttles moving sub-shuttles when they're away.
This commit is contained in:
@@ -345,6 +345,15 @@
|
||||
qdel(P)
|
||||
SSmachines.setup_powernets_for_cables(cables)
|
||||
|
||||
// Adjust areas of mothershuttle so it doesn't try and bring us with it if it jumps while we aren't on it.
|
||||
if(mothershuttle)
|
||||
var/datum/shuttle/MS = SSshuttles.shuttles[mothershuttle]
|
||||
if(MS)
|
||||
if(current_location.landmark_tag == motherdock)
|
||||
MS.shuttle_area |= shuttle_area // We are now on mothershuttle! Bring us along!
|
||||
else
|
||||
MS.shuttle_area -= shuttle_area // We have left mothershuttle! Don't bring us along!
|
||||
|
||||
return
|
||||
|
||||
//returns 1 if the shuttle has a valid arrive time
|
||||
|
||||
Reference in New Issue
Block a user