disable Daily when restarting game
This commit is contained in:
parent
d754437bf1
commit
a600b157a1
|
@ -1110,6 +1110,8 @@ void restartGame(char switchWhat, bool push, bool keep_screens) {
|
||||||
// items[itGreenStone] = 100;
|
// items[itGreenStone] = 100;
|
||||||
clearMemory();
|
clearMemory();
|
||||||
}
|
}
|
||||||
|
if(daily::on && !among(switchWhat, rg::daily, rg::daily_off))
|
||||||
|
daily::turnoff();
|
||||||
if(switchWhat == rg::peace) {
|
if(switchWhat == rg::peace) {
|
||||||
peace::on = !peace::on;
|
peace::on = !peace::on;
|
||||||
tactic::on = yendor::on = princess::challenge =
|
tactic::on = yendor::on = princess::challenge =
|
||||||
|
|
Loading…
Reference in New Issue