diff --git a/src/game/server/score/sql_score.cpp b/src/game/server/score/sql_score.cpp index a810bd3f7..ce5b95463 100644 --- a/src/game/server/score/sql_score.cpp +++ b/src/game/server/score/sql_score.cpp @@ -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); }