From a600b157a1b74c0c7eea10e830371d741bbbed61 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 26 May 2018 01:29:25 +0200 Subject: [PATCH] disable Daily when restarting game --- system.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system.cpp b/system.cpp index 4bf7f50d..efe8ca9b 100644 --- a/system.cpp +++ b/system.cpp @@ -1110,6 +1110,8 @@ void restartGame(char switchWhat, bool push, bool keep_screens) { // items[itGreenStone] = 100; clearMemory(); } + if(daily::on && !among(switchWhat, rg::daily, rg::daily_off)) + daily::turnoff(); if(switchWhat == rg::peace) { peace::on = !peace::on; tactic::on = yendor::on = princess::challenge =