Commit 27dca974 authored by salix5's avatar salix5

reset status when leaving ReplayThread()

parent efa06453
...@@ -138,6 +138,17 @@ int ReplayMode::ReplayThread() { ...@@ -138,6 +138,17 @@ int ReplayMode::ReplayThread() {
mainGame->gMutex.unlock(); mainGame->gMutex.unlock();
} }
EndDuel(); EndDuel();
pduel = 0;
is_continuing = true;
is_closing = false;
is_pausing = false;
is_paused = false;
is_swaping = false;
is_restarting = false;
exit_pending = false;
skip_turn = 0;
current_step = 0;
skip_step = 0;
return 0; return 0;
} }
bool ReplayMode::StartDuel() { bool ReplayMode::StartDuel() {
......
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