Skip to content

Commit

Permalink
group menu updates properly when it's enabled or disabled in the in g…
Browse files Browse the repository at this point in the history
…ame options
  • Loading branch information
jwhite510 authored and past-due committed Aug 27, 2023
1 parent 1366dd6 commit 176fcc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/hci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2020,6 +2020,9 @@ bool intShowGroupSelectionMenu()
auto newGroupsForum = GroupsForum::make();
psWScreen->psForm->attach(newGroupsForum);
}
} else
{
widgDelete(psWScreen, IDOBJ_GROUP);
}
return true;
}
Expand Down
2 changes: 2 additions & 0 deletions src/ingameop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,8 @@ bool intCloseInGameOptions(bool bPutUpLoadSave, bool bResetMissionWidgets)
resetMissionWidgets();
}

// the setting for group menu display may have been modified
intShowGroupSelectionMenu();
return true;
}

Expand Down

0 comments on commit 176fcc0

Please sign in to comment.