Skip to content

Commit

Permalink
Fix: addIntelScreen should be a no-op if the intel screen is already …
Browse files Browse the repository at this point in the history
…displayed
  • Loading branch information
past-due committed Nov 2, 2023
1 parent 3669efb commit 5ddc88c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2479,6 +2479,12 @@ static bool intAddCommand()
//sets up the Intelligence Screen as far as the interface is concerned
void addIntelScreen()
{
if (intMode == INT_INTELMAP)
{
// screen is already up - do nothing
return;
}

intResetScreen(false);
intHideGroupSelectionMenu();

Expand Down

0 comments on commit 5ddc88c

Please sign in to comment.