Commit f0156a87 authored by nanahira's avatar nanahira

direct exit on no wait

parent 8cf9df4c
......@@ -231,6 +231,10 @@ bool ReplayMode::StartDuel() {
void ReplayMode::EndDuel() {
end_duel(pduel);
if(!is_closing) {
if(auto_watch_mode && no_wait_before_exit) {
mainGame->device->closeDevice();
return false;
}
mainGame->actionSignal.Reset();
mainGame->gMutex.lock();
mainGame->stMessage->setText(dataManager.GetSysString(1501));
......@@ -317,7 +321,7 @@ bool ReplayMode::ReplayAnalyze(char* msg, unsigned int len) {
break;
}
case MSG_RETRY: {
if(auto_watch_mode && raw_video_mode) {
if(auto_watch_mode && !no_wait_before_exit) {
mainGame->device->closeDevice();
return false;
}
......
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