diff options
Diffstat (limited to 'src/game/server/gamecontroller.cpp')
| -rw-r--r-- | src/game/server/gamecontroller.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/game/server/gamecontroller.cpp b/src/game/server/gamecontroller.cpp index 66d84519..5b7051d3 100644 --- a/src/game/server/gamecontroller.cpp +++ b/src/game/server/gamecontroller.cpp @@ -435,13 +435,8 @@ void IGameController::Tick() } } - // move the player to other team without losing his score - // TODO: change in player::set_team needed: player won't lose score on team-change - int ScoreBefore = pP->m_Score; - int ScoreStartTickBefore = pP->m_ScoreStartTick; + // move the player to the other team pP->SetTeam(M^1); - pP->m_Score = ScoreBefore; - pP->m_ScoreStartTick = ScoreStartTickBefore; pP->Respawn(); pP->m_ForceBalanced = true; |