From 0c2d0aa88a76f0f437869446443a83d4f66d733a Mon Sep 17 00:00:00 2001
From: Bloop <13398309+vinylspiders@users.noreply.github.com>
Date: Sat, 6 Jan 2024 07:18:27 -0500
Subject: [PATCH] [MISSED MIRROR] [NO GBP] Fix hub shuttle time (#80819) (#334)
[NO GBP] Fix hub shuttle time (#80819)
Was showing a constant "Shuttle: 00:10" in hub
hopefully should no longer show shuttle info if it hasn't actually been
called yet
:cl:
fix: Hub shuttle time works correctly
/:cl:
Co-authored-by: 13spacemen <46101244+13spacemen@users.noreply.github.com>
---
code/game/world.dm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/code/game/world.dm b/code/game/world.dm
index e1a7a8ccab3..504055da7f2 100644
--- a/code/game/world.dm
+++ b/code/game/world.dm
@@ -382,6 +382,8 @@ GLOBAL_VAR(restart_counter)
new_status += ": [jointext(features, ", ")]"
new_status += "
Time: [gameTimestamp("hh:mm")]"
+ if(SSshuttle?.emergency && SSshuttle?.emergency?.mode != (SHUTTLE_IDLE || SHUTTLE_ENDGAME))
+ new_status += " | Shuttle: [SSshuttle.emergency.getModeStr()] [SSshuttle.emergency.getTimerStr()]"
if(SSmapping.config)
new_status += "
Map: [SSmapping.config.map_path == CUSTOM_MAP_PATH ? "Uncharted Territory" : SSmapping.config.map_name]"
var/alert_text = SSsecurity_level.get_current_level_as_text()