diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index e9caa6ab7..0dedf4cb9 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -3216,15 +3216,19 @@ void CGameContext::ConHotReload(IConsole::IResult *pResult, void *pUserData) if(!pSelf->GetPlayerChar(i)) continue; + CCharacter *pChar = pSelf->GetPlayerChar(i); + // Save the tee individually pSelf->m_apSavedTees[i] = new CSaveTee(); - pSelf->m_apSavedTees[i]->Save(pSelf->GetPlayerChar(i), false); + pSelf->m_apSavedTees[i]->Save(pChar, false); if(pSelf->m_apPlayers[i]) pSelf->m_apSavedTeleTees[i] = new CSaveTee(pSelf->m_apPlayers[i]->m_LastTeleTee); // Save the team state pSelf->m_aTeamMapping[i] = pSelf->GetDDRaceTeam(i); + if(pSelf->m_aTeamMapping[i] == TEAM_SUPER) + pSelf->m_aTeamMapping[i] = pChar->m_TeamBeforeSuper; if(pSelf->m_apSavedTeams[pSelf->m_aTeamMapping[i]]) continue;