mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
Fix practice on solo servers
This commit is contained in:
parent
506602d472
commit
ead2422dcf
|
@ -570,7 +570,7 @@ void CGameContext::ConPractice(IConsole::IResult *pResult, void *pUserData)
|
||||||
|
|
||||||
int Team = Teams.m_Core.Team(pResult->m_ClientID);
|
int Team = Teams.m_Core.Team(pResult->m_ClientID);
|
||||||
|
|
||||||
if(Team < TEAM_FLOCK || (Team == TEAM_FLOCK && g_Config.m_SvTeam == 3) || Team >= TEAM_SUPER)
|
if(Team < TEAM_FLOCK || (Team == TEAM_FLOCK && g_Config.m_SvTeam != 3) || Team >= TEAM_SUPER)
|
||||||
{
|
{
|
||||||
pSelf->Console()->Print(
|
pSelf->Console()->Print(
|
||||||
IConsole::OUTPUT_LEVEL_STANDARD,
|
IConsole::OUTPUT_LEVEL_STANDARD,
|
||||||
|
|
Loading…
Reference in a new issue