Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ChillerDragon
Copy link
Contributor

@ChillerDragon ChillerDragon commented Mar 2, 2025

When the server does not automatically balance the rcon command to trigger it manually is most useful.

@ChillerDragon
Copy link
Contributor Author

Relevant code

void CGameContext::ConForceTeamBalance(IConsole::IResult *pResult, void *pUserData)
{
CGameContext *pSelf = (CGameContext *)pUserData;
pSelf->m_pController->ForceTeamBalance();
}

void ForceTeamBalance() { if(!(m_GameFlags&GAMEFLAG_SURVIVAL)) DoTeamBalance(); }

@ChillerDragon ChillerDragon changed the title Allow rcon "force_teambalance" when auto balanace is off Allow rcon "force_teambalance" when auto balance is off Mar 6, 2025
When the server does not automatically balance the rcon command
to trigger it manually is most useful.
@ChillerDragon ChillerDragon force-pushed the pr_always_allow_force_balanace branch from ecbaf66 to e195acb Compare March 6, 2025 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant