mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
update HnS role list on game mode change
This commit is contained in:
1 parent
b59eaa04c0
commit
4a520be228
1 file changed
+1
@@ -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];
|
||||
|
||||
|
||||
Reference in new issue
Block a user