Skip to content

Commit 64ca101

Browse files
committed
Prevent quick saving when player is dying
1 parent 09f08c9 commit 64ca101

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game_logic/game_world.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ void GameWorld::processEndOfFrameActions() {
663663

664664

665665
void GameWorld::quickSave() {
666-
if (!mpOptions->mQuickSavingEnabled) {
666+
if (!mpOptions->mQuickSavingEnabled || mpState->mPlayer.isDead()) {
667667
return;
668668
}
669669

0 commit comments

Comments
 (0)