Fix save_dry command

This commit is contained in:
Zwelf 2023-10-09 16:36:40 +02:00
parent f81af726e9
commit 1d6771ea9d

View file

@ -839,7 +839,8 @@ void CGameContext::ConDrySave(IConsole::IResult *pResult, void *pUserData)
return;
CSaveTeam SavedTeam;
int Result = SavedTeam.Save(pSelf, pPlayer->GetTeam(), true);
int Team = pSelf->GetDDRaceTeam(pResult->m_ClientID);
int Result = SavedTeam.Save(pSelf, Team, true);
if(CSaveTeam::HandleSaveError(Result, pResult->m_ClientID, pSelf))
return;