fix crash when loading a replay stored on the server #1762
This commit is contained in:
parent
7537272bb2
commit
8b0c9af52d
1 changed files with 4 additions and 0 deletions
|
@ -182,6 +182,10 @@ bool loadgame::load_game()
|
|||
read_save_file(load_data_.filename, load_data_.load_config, &error_log);
|
||||
|
||||
convert_old_saves(load_data_.load_config);
|
||||
|
||||
for (config& side : load_data_.load_config.child_range("side")) {
|
||||
side.remove_attribute("is_local");
|
||||
}
|
||||
|
||||
if(!error_log.empty()) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue