Loading a save file with an old connection point location will place the player at the starting conection point. Blue Slime Movespd: 80 -> 70. Release Build 7910.

This commit is contained in:
2024-03-05 02:07:32 -06:00
parent 0df14cf1e4
commit da969118bb
7 changed files with 14 additions and 5 deletions
+3 -1
View File
@@ -312,7 +312,9 @@ void SaveFile::LoadFile(){
else opt_cp.value()->SetVisited();
}
}
State_OverworldMap::SetStageMarker(loadFile["Overworld Map Location"].GetString());
if(State_OverworldMap::HasStageMarker(loadFile["Overworld Map Location"].GetString())){
State_OverworldMap::SetStageMarker(loadFile["Overworld Map Location"].GetString());
}
State_OverworldMap::UpdateCurrentConnectionPoint(const_cast<ConnectionPoint&>(State_OverworldMap::GetCurrentConnectionPoint()));
game->SetChapter(loadFile["Chapter"].GetInt());
SaveFile::SetSaveFileName(loadFile["Save Name"].GetString());