fixes bugged examine on docking beacons (#17877)

This commit is contained in:
Qwertytoforty
2022-05-27 17:33:12 +01:00
committed by GitHub
parent 991d0124f5
commit e5266bdcac
@@ -95,7 +95,8 @@ GLOBAL_LIST_INIT(marker_beacon_colors, list(
/obj/structure/marker_beacon/examine(mob/user)
. = ..()
. += "<span class='notice'>Alt-click to select a color. Current color is [picked_color].</span>"
if(picked_color)
. += "<span class='notice'>Alt-click to select a color. Current color is [picked_color].</span>"
/obj/structure/marker_beacon/update_icon()
while(!picked_color || !GLOB.marker_beacon_colors[picked_color])