Merge pull request #30768 from Cyberboss/BringingSexyBack

Adds back required arrivals undockedness with a config
This commit is contained in:
oranges
2017-09-20 20:54:06 +12:00
committed by CitadelStationBot
parent accd92a676
commit 9ee60af5e8
3 changed files with 9 additions and 0 deletions

View File

@@ -329,6 +329,9 @@
if(SSshuttle.arrivals.damaged && config.arrivals_shuttle_require_safe_latejoin)
src << alert("The arrivals shuttle is currently malfunctioning! You cannot join.")
return FALSE
if(config.arrivals_shuttle_require_undocked)
SSshuttle.arrivals.RequireUndocked(src)
arrivals_docked = SSshuttle.arrivals.mode != SHUTTLE_CALL
//Remove the player from the join queue if he was in one and reset the timer