fix map beeing black for player 2 in a online multiplayer game

if 'enter bindfolded' is enabled
fixes #1852
This commit is contained in:
gfgtdf 2017-07-23 20:29:48 +02:00 committed by GitHub
parent dd5983b176
commit 708096a84e

View file

@ -56,6 +56,10 @@ playmp_controller::playmp_controller(const config& level,
if (!mp_info || mp_info->current_turn == turn()) {
skip_replay_ = false;
}
if (gui_->is_blindfolded() && gamestate().first_human_team_ != -1) {
blindfold_.unblind();
}
}
playmp_controller::~playmp_controller() {