diff --git a/src/game/server/score.cpp b/src/game/server/score.cpp index d236d352d..dbcfadfc0 100644 --- a/src/game/server/score.cpp +++ b/src/game/server/score.cpp @@ -358,6 +358,11 @@ void CScore::LoadTeam(const char *pCode, int ClientId) GameServer()->SendChatTarget(ClientId, "Team can't be loaded while in team 0 mode"); return; } + if(pController->Teams().IsPractice(Team)) + { + GameServer()->SendChatTarget(ClientId, "Team can't be loaded while practice is enabled"); + return; + } auto SaveResult = std::make_shared(ClientId); SaveResult->m_Status = CScoreSaveResult::LOAD_FAILED; pController->Teams().SetSaving(Team, SaveResult);