Remove removed save functions from previous commit.
All checks were successful
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 7m36s
All checks were successful
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 7m36s
This commit is contained in:
parent
004c435865
commit
6bf943bb22
@ -448,7 +448,7 @@ const void SaveFile::LoadGame(){
|
||||
file<<response;
|
||||
file.close();
|
||||
_LoadFile();
|
||||
TurnOffSavingFlagAndUpdateInventoryUIs();
|
||||
game->SetQuitAllowed(true);
|
||||
}else{
|
||||
game->SetQuitAllowed(true);
|
||||
LOG("WARNING! Could not load save file!");
|
||||
@ -456,7 +456,7 @@ const void SaveFile::LoadGame(){
|
||||
game->SetQuitAllowed(true);
|
||||
});
|
||||
}else{
|
||||
emscripten_idb_async_load("/assets",("save_file_path"_S+std::format("save.{:04}",saveFileID)).c_str(),0,[&TurnOffSavingFlagAndUpdateInventoryUIs](void*arg,void*data,int length){
|
||||
emscripten_idb_async_load("/assets",("save_file_path"_S+std::format("save.{:04}",saveFileID)).c_str(),0,[](void*arg,void*data,int length)->void{
|
||||
LOG("Loaded Save File "<<saveFileID<<" successfully!");
|
||||
|
||||
std::string rawMetadata=(char*)data;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user