From d898e1d7e820136e63dd69dcd735e5791b2f948c Mon Sep 17 00:00:00 2001 From: gfgtdf Date: Thu, 19 Mar 2015 23:22:38 +0100 Subject: [PATCH] simplify game_state::init --- src/game_state.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/game_state.cpp b/src/game_state.cpp index b0d1e0383f60..4a62d2b883a9 100644 --- a/src/game_state.cpp +++ b/src/game_state.cpp @@ -155,10 +155,7 @@ void game_state::init(const int ticks, play_controller & pc) { if (first_human_team_ == -1) { const std::string &controller = side["controller"]; - if (controller == "human" && - side["id"] == preferences::login()) { - first_human_team_ = team_num; - } else if (controller == "human") { + if (controller == "human") { first_human_team_ = team_num; } }