disable Daily when restarting game

This commit is contained in:
Zeno Rogue 2018-05-26 01:29:25 +02:00
parent d754437bf1
commit a600b157a1
1 changed files with 2 additions and 0 deletions

View File

@ -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 =