Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
doom committed Oct 13, 2023
1 parent 6ab67cd commit c55d307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgui/packages/tgui/interfaces/TacticalMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const ViewMapPanel = (props, context) => {
const { data } = useBackend<TacMapProps>(context);

// byond ui can't resist trying to render
if (data.canViewTacmap === 0) {
if (data.canViewTacmap === 0 || data.mapRef === null) {
return <OldMapPanel {...props} context={context} />;
}

Expand Down

0 comments on commit c55d307

Please sign in to comment.