From 22c4cfc4ad12506222fcdd77a2ccc3233098719b Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 30 May 2021 13:30:38 +0200 Subject: [PATCH] fixed a confirmation message even though saved --- quit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quit.cpp b/quit.cpp index b83ee632..b5b230da 100644 --- a/quit.cpp +++ b/quit.cpp @@ -19,7 +19,7 @@ EX bool needConfirmationEvenIfSaved() { EX bool needConfirmation() { if(casual) return needConfirmationEvenIfSaved() && turncount > save_turns + 10; - else return needConfirmationEvenIfSaved() && quitsaves(); + else return needConfirmationEvenIfSaved() && !quitsaves(); } EX int getgametime() {