From f9f6679359a2ad67e65c08c680dd0e5e3f7f4fd4 Mon Sep 17 00:00:00 2001 From: Ricardo Subtil Date: Mon, 11 Sep 2023 17:35:44 +0100 Subject: [PATCH] Make ruleset change on started game !build --- server/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/settings.cpp b/server/settings.cpp index a988c7811a..abc900f6ed 100644 --- a/server/settings.cpp +++ b/server/settings.cpp @@ -3197,7 +3197,6 @@ static bool setting_is_free_to_change(const struct setting *pset, case SSET_MAP_ADD: case SSET_PLAYERS: case SSET_GAME_INIT: - case SSET_RULES: /* Only change start params and most rules if we don't yet have a map, or * if we do have a map but its a scenario one (ie, the game has never * actually been started). @@ -3212,6 +3211,7 @@ static bool setting_is_free_to_change(const struct setting *pset, setting_name(pset)); return false; + case SSET_RULES: case SSET_RULES_FLEXIBLE: case SSET_META: // These can always be changed: