update HnS role list on game mode change

This commit is contained in:
Gurge44 committed 2025-12-25 13:03:13 +01:00
1 parent b59eaa04c0
commit 4a520be228
1 file changed
+1
+1
View File
@@ -1196,6 +1196,7 @@ public static class GameSettingMenuPatch
{
Options.GameMode.SetValue((int)gm - 1);
GameOptionsMenuPatch.ReloadUI();
CustomHnS.AllHnSRoles = CustomHnS.GetAllHnsRoles(CustomHnS.GetAllHnsRoleTypes());
}));
gmPassiveButton.activeTextColor = gmPassiveButton.inactiveTextColor = gmPassiveButton.disabledTextColor = gmPassiveButton.selectedTextColor = Main.GameModeColors[gm];