mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix save_dry command
This commit is contained in:
parent
f81af726e9
commit
1d6771ea9d
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue