Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lizzie841 committed Apr 7, 2024
1 parent 7511d70 commit 41ee60f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/gui_nation_picker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ class select_save_game : public button_element_base {
state.save_list_updated.store(true, std::memory_order::release); //update savefile list
//try loading save from scenario so we atleast have something to work on
if(!sys::try_read_scenario_as_save_file(state, state.loaded_scenario_file)) {
auto msg = std::string("Scenario file ") + simple_fs::native_to_utf8(state.loaded_scenario_file) + " could not be loaded.";
ui::popup_error_window(state, "Scenario Error", msg);
auto msg2 = std::string("Scenario file ") + simple_fs::native_to_utf8(state.loaded_scenario_file) + " could not be loaded.";
ui::popup_error_window(state, "Scenario Error", msg2);
} else {
loaded = true;
}
Expand Down

0 comments on commit 41ee60f

Please sign in to comment.