mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 04:03:16 +00:00
add error message for #7164
This commit is contained in:
parent
3910817cf7
commit
92a0885a97
@ -561,6 +561,10 @@ config play_controller::to_config() const
|
||||
gui_->labels().write(cfg);
|
||||
sound::write_music_play_list(cfg);
|
||||
|
||||
if(cfg["replay_pos"].to_int(0) > 0 && cfg["playing_team"].empty()) {
|
||||
gui2::show_error_message(_("Trying to create a corrupt file, please report this bug"));
|
||||
}
|
||||
|
||||
return cfg;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user