Skip to content

Commit

Permalink
Fixup feccf66 for Travis
Browse files Browse the repository at this point in the history
lobby var was set but not used after that commit.
  • Loading branch information
Vultraz committed Nov 3, 2017
1 parent 9902b07 commit 99ddd7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/dialogs/multiplayer/lobby.cpp
Expand Up @@ -580,12 +580,14 @@ void mp_lobby::update_playerlist()
lobby_info_.sort_users(player_list_.sort_by_name->get_value_bool(),
player_list_.sort_by_relation->get_value_bool());

#ifdef ENABLE_ROOM_MEMBER_TREE
bool lobby = false;
if(mp::room_info* ri = chatbox_->active_window_room()) {
if(ri->name() == "lobby") {
lobby = true;
}
}
#endif

assert(player_list_.active_game.tree);
#ifdef ENABLE_ROOM_MEMBER_TREE
Expand Down

0 comments on commit 99ddd7b

Please sign in to comment.