Commit 32b7a249 authored by DailyShana's avatar DailyShana

reset isSingleMode after watching puzzle replay

parent 7d26d491
...@@ -239,6 +239,7 @@ void ReplayMode::EndDuel() { ...@@ -239,6 +239,7 @@ void ReplayMode::EndDuel() {
mainGame->dInfo.isStarted = false; mainGame->dInfo.isStarted = false;
mainGame->dInfo.isFinished = true; mainGame->dInfo.isFinished = true;
mainGame->dInfo.isReplay = false; mainGame->dInfo.isReplay = false;
mainGame->dInfo.isSingleMode = false;
mainGame->gMutex.unlock(); mainGame->gMutex.unlock();
mainGame->closeDoneSignal.Reset(); mainGame->closeDoneSignal.Reset();
mainGame->closeSignal.Set(); mainGame->closeSignal.Set();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment