Switch monster kill count tracking to use steam stats progress tracking. Release Build 8551.
This commit is contained in:
@@ -134,8 +134,6 @@ const void SaveFile::SaveGame(){
|
||||
saveFile["Game Time"].SetReal(game->GetRuntime());
|
||||
saveFile["TravelingMerchant"].SetString(std::string(Merchant::GetCurrentTravelingMerchant().GetKeyName()));
|
||||
|
||||
saveFile["Achievement"]["KillCount"].SetInt(Unlock::GetKillCount());
|
||||
|
||||
#pragma region Save Keyboard/Controller mappings
|
||||
//NOTE: We are shadowing code from InputKeyboardWindow! If at some point the retrival method for getting input displays changes, we likely will be changing the code here as well!
|
||||
//ALSO NOTE: The menu inputs are saved to the system file while gameplay inputs are per-character and saved to the character settings file!
|
||||
@@ -392,12 +390,6 @@ void SaveFile::LoadFile(){
|
||||
}
|
||||
}
|
||||
|
||||
#pragma region Achievement-related loading
|
||||
if(loadFile.HasProperty("Achievement.KillCount")){
|
||||
Unlock::SetKillCount(loadFile.GetProperty("Achievement.KillCount").GetInt());
|
||||
}
|
||||
#pragma endregion
|
||||
|
||||
GameState::ChangeState(States::OVERWORLD_MAP,0.5f);
|
||||
}else{
|
||||
LOG(std::format("WARNING! File {} does not exist for loading!","save_file_path"_S+std::format("save.{:04}",saveFileID)));
|
||||
|
||||
Reference in New Issue
Block a user