Changed -d option so that it forcefully enables debug mode...
...in multiplayer games, as requested in bug #17412.
This commit is contained in:
parent
53d936fa46
commit
57a1ddfd05
2 changed files with 2 additions and 2 deletions
|
@ -2375,7 +2375,7 @@ static int do_gameloop(int argc, char** argv)
|
|||
continue;
|
||||
}
|
||||
} else if(res == gui2::ttitle_screen::MULTIPLAYER) {
|
||||
game_config::debug = false;
|
||||
game_config::debug = game_config::mp_debug;
|
||||
if(game.play_multiplayer() == false) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -3359,7 +3359,7 @@ void console_handler::do_turn_limit()
|
|||
}
|
||||
|
||||
void console_handler::do_debug() {
|
||||
if (network::nconnections() == 0 /*|| game_config::mp_debug*/) {
|
||||
if (network::nconnections() == 0 || game_config::mp_debug) {
|
||||
print(get_cmd(), _("Debug mode activated!"));
|
||||
game_config::debug = true;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue