1 | if (ds_map_find_value(async_load, "id") == global.savedata_async_id) |
2 | { |
3 | global.savedata_async_id = -1; |
4 | if (os_type == os_switch) |
5 | switch_save_data_commit(); |
6 | buffer_delete(global.savedata_buffer); |
7 | global.savedata_buffer = undefined; |
8 | game_restart_true(); |
9 | } |