mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 22:18:19 +00:00
Merge pull request #7330 from Zwelf/pr-fix-save-dry
Fix save_dry command
This commit is contained in:
commit
7171a8872e
|
@ -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