Simply a load_game_exception throw

This commit is contained in:
Charles Dang 2021-01-05 23:11:26 +11:00
parent 2a827fbefb
commit d9680a906c

View File

@ -550,6 +550,5 @@ hotkey::ACTION_STATE play_controller::hotkey_handler::get_action_state(hotkey::H
void play_controller::hotkey_handler::load_autosave(const std::string& filename)
{
throw savegame::load_game_exception(
savegame::load_game_metadata{savegame::save_index_class::default_saves_dir(), filename});
throw savegame::load_game_exception({savegame::save_index_class::default_saves_dir(), filename});
}