Skip to content

Commit

Permalink
Still call terrorist round win if team balancing is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
B3none authored Aug 10, 2024
1 parent 01a84d8 commit 7a133a9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions RetakesPlugin/Modules/Managers/GameManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,19 +201,19 @@ private void BalanceTeams()

public void OnRoundPreStart(CsTeam winningTeam)
{
if (_isBalanceEnabled)
// Handle team swaps during round pre-start.
switch (winningTeam)
{
// Handle team swaps during round pre-start.
switch (winningTeam)
{
case CsTeam.CounterTerrorist:
case CsTeam.CounterTerrorist:
if (_isBalanceEnabled)
{
CounterTerroristRoundWin();
break;
}
break;

case CsTeam.Terrorist:
TerroristRoundWin();
break;
}
case CsTeam.Terrorist:
TerroristRoundWin();
break;
}

if (_scrambleNextRound)
Expand Down

0 comments on commit 7a133a9

Please sign in to comment.