From e5266bdcac79b20a34e108214c0efaec33e72915 Mon Sep 17 00:00:00 2001
From: Qwertytoforty <52090703+Qwertytoforty@users.noreply.github.com>
Date: Fri, 27 May 2022 12:33:12 -0400
Subject: [PATCH] fixes bugged examine on docking beacons (#17877)
---
code/modules/mining/equipment/marker_beacons.dm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/code/modules/mining/equipment/marker_beacons.dm b/code/modules/mining/equipment/marker_beacons.dm
index 410a83af261..065fff37e43 100644
--- a/code/modules/mining/equipment/marker_beacons.dm
+++ b/code/modules/mining/equipment/marker_beacons.dm
@@ -95,7 +95,8 @@ GLOBAL_LIST_INIT(marker_beacon_colors, list(
/obj/structure/marker_beacon/examine(mob/user)
. = ..()
- . += "Alt-click to select a color. Current color is [picked_color]."
+ if(picked_color)
+ . += "Alt-click to select a color. Current color is [picked_color]."
/obj/structure/marker_beacon/update_icon()
while(!picked_color || !GLOB.marker_beacon_colors[picked_color])