Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pskelton committed Dec 4, 2023
1 parent dcc2834 commit 5100cbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engine/SaveLoad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ void SaveNewGame() {
}

void QuickSaveGame() {
assert(pCurrentMapName != "d05.blv"); // Not Arena.
if (pCurrentMapName == "d05.blv") return; // Not Arena.
pSavegameList->Initialize();

engine->config->gameplay.QuickSavesCount.cycleIncrement();
Expand Down Expand Up @@ -445,5 +445,5 @@ void QuickLoadGame() {
}

std::string GetCurrentQuickSave() {
return engine->config->gameplay.QuickSaveName.value() + std::to_string(engine->config->gameplay.QuickSavesCount.value()) + ".mm7";
return fmt::format( "{}{}.mm7", engine->config->gameplay.QuickSaveName.value(), engine->config->gameplay.QuickSavesCount.value());
}

0 comments on commit 5100cbe

Please sign in to comment.