From 8ed8d6d760d06ae46ab8775d63175942bdfc0226 Mon Sep 17 00:00:00 2001 From: DOOM Date: Fri, 30 Jun 2023 16:25:22 -0400 Subject: [PATCH] fix --- code/controllers/subsystem/minimap.dm | 4 ++-- tgui/packages/tgui/interfaces/TacticalMap.tsx | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/code/controllers/subsystem/minimap.dm b/code/controllers/subsystem/minimap.dm index 9d5f16afb855..ec28972fb052 100644 --- a/code/controllers/subsystem/minimap.dm +++ b/code/controllers/subsystem/minimap.dm @@ -516,13 +516,11 @@ SUBSYSTEM_DEF(minimaps) if ("updateCanvas") if(alert(user, "Are you sure you want to update the canvas changes?", "Confirm?", "Yes", "No") == "No") - toolbar_updated_selection = "clear" return toolbar_updated_selection = "export" COOLDOWN_START(src, canvas_cooldown, canvas_cooldown_time) updated_canvas = TRUE - // callback timer for when the user can update again . = TRUE if ("undoChange") @@ -543,6 +541,8 @@ SUBSYSTEM_DEF(minimaps) toolbar_color_selection = "blue" if("green") toolbar_color_selection = "green" + if("brown") + toolbar_color_selection = "brown" toolbar_updated_selection = toolbar_color_selection . = TRUE diff --git a/tgui/packages/tgui/interfaces/TacticalMap.tsx b/tgui/packages/tgui/interfaces/TacticalMap.tsx index e144edf45653..af2d10925d74 100644 --- a/tgui/packages/tgui/interfaces/TacticalMap.tsx +++ b/tgui/packages/tgui/interfaces/TacticalMap.tsx @@ -33,7 +33,8 @@ export const TacticalMap = (props, context) => { 'orange', 'blue', 'purple', - 'green' + 'green', + 'brown' ]; const colors: Record = { @@ -42,7 +43,8 @@ export const TacticalMap = (props, context) => { 'orange': '#F59A07', 'blue': '#0561F5', 'purple': '#C002FA', - 'green': '#02c245' + 'green': '#02c245', + 'brown': '#5C351E' }; const handleColorSelection = () => { @@ -95,8 +97,8 @@ export const TacticalMap = (props, context) => {