mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed /load message
This commit is contained in:
parent
42fc8a0fe2
commit
2bcbe52d14
|
@ -1395,7 +1395,6 @@ bool CSqlScore::SaveTeamThread(CSqlServer* pSqlServer, const CSqlData *pGameData
|
|||
}
|
||||
|
||||
char TeamString[65536];
|
||||
char OriginalCode[32];
|
||||
|
||||
int Num = -1;
|
||||
|
||||
|
@ -1449,7 +1448,7 @@ bool CSqlScore::SaveTeamThread(CSqlServer* pSqlServer, const CSqlData *pGameData
|
|||
// be sure to keep all calls to pData->GameServer() after inserting the save, otherwise it might be lost due to CGameContextError.
|
||||
|
||||
char aBuf2[256];
|
||||
str_format(aBuf2, sizeof(aBuf2), "Team successfully saved. Use '/load %s' to continue", OriginalCode);
|
||||
str_format(aBuf2, sizeof(aBuf2), "Team successfully saved. Use '/load %s' to continue", pData->m_Code.Str());
|
||||
pData->GameServer()->SendChatTeam(Team, aBuf2);
|
||||
((CGameControllerDDRace*)(pData->GameServer()->m_pController))->m_Teams.KillSavedTeam(Team);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue