Skip to content

Commit

Permalink
Never spawn a new map when continue and spawn is active
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed Dec 10, 2024
1 parent 0cc2d64 commit 18679fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RLBotCS/ManagerTools/MatchStarter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18679fd

Please sign in to comment.