mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 00:31:12 +00:00
Simply a load_game_exception throw
This commit is contained in:
parent
2a827fbefb
commit
d9680a906c
@ -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});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user