From 18679fd7bc5f16b8a624483c99aaf38476afc8e6 Mon Sep 17 00:00:00 2001 From: Virx Date: Tue, 10 Dec 2024 14:30:24 -0500 Subject: [PATCH] Never spawn a new map when continue and spawn is active --- RLBotCS/ManagerTools/MatchStarter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RLBotCS/ManagerTools/MatchStarter.cs b/RLBotCS/ManagerTools/MatchStarter.cs index 5797d0e..53f5fce 100644 --- a/RLBotCS/ManagerTools/MatchStarter.cs +++ b/RLBotCS/ManagerTools/MatchStarter.cs @@ -208,7 +208,7 @@ private void LoadMatch(MatchSettingsT matchSettings) var shouldSpawnNewMap = matchSettings.ExistingMatchBehavior switch { - ExistingMatchBehavior.Continue_And_Spawn => !_hasEverLoadedMap, + ExistingMatchBehavior.Continue_And_Spawn => false, ExistingMatchBehavior.Restart_If_Different => MatchEnded || IsDifferentFromLast(matchSettings), _ => true