From c55d3078dfc47895392ab3368ccae44c4c4d16c4 Mon Sep 17 00:00:00 2001 From: doom Date: Fri, 13 Oct 2023 16:04:28 -0700 Subject: [PATCH] bug fix --- tgui/packages/tgui/interfaces/TacticalMap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgui/packages/tgui/interfaces/TacticalMap.tsx b/tgui/packages/tgui/interfaces/TacticalMap.tsx index a1ff120f0cf7..3183f78391bc 100644 --- a/tgui/packages/tgui/interfaces/TacticalMap.tsx +++ b/tgui/packages/tgui/interfaces/TacticalMap.tsx @@ -147,7 +147,7 @@ const ViewMapPanel = (props, context) => { const { data } = useBackend(context); // byond ui can't resist trying to render - if (data.canViewTacmap === 0) { + if (data.canViewTacmap === 0 || data.mapRef === null) { return ; }