Add setting to enable non-admin multiplayer clients to rename towns

This commit is contained in:
Jonathan G Rennison
2021-03-14 16:44:15 +00:00
parent 3e6b06f7b0
commit 3f4333bcc8
9 changed files with 44 additions and 2 deletions

View File

@@ -1500,6 +1500,12 @@ static bool DifficultyMoneyCheatMultiplayerChange(int32 i)
return true;
}
static bool DifficultyRenameTownsMultiplayerChange(int32 i)
{
SetWindowClassesDirty(WC_TOWN_VIEW);
return true;
}
static bool MaxNoAIsChange(int32 i)
{
if (GetGameSettings().difficulty.max_no_competitors != 0 &&