Commit 047815ac authored by mercury233's avatar mercury233

add YGOPRO_SERVER_MODE_DISABLE_CLOUD_REPLAY

parent 99aae4ba
......@@ -69,10 +69,12 @@ void SingleDuel::JoinGame(DuelPlayer* dp, void* pdata, bool is_creater) {
is_recorder = true;
cache_recorder = dp;
}
#ifndef YGOPRO_SERVER_MODE_DISABLE_CLOUD_REPLAY
if(!wcscmp(jpass, L"Marshtomp") && !replay_recorder) {
is_recorder = true;
replay_recorder = dp;
}
#endif //YGOPRO_SERVER_MODE_DISABLE_CLOUD_REPLAY
#else
if(wcscmp(jpass, pass)) {
STOC_ErrorMsg scem;
......
......@@ -65,10 +65,12 @@ void TagDuel::JoinGame(DuelPlayer* dp, void* pdata, bool is_creater) {
is_recorder = true;
cache_recorder = dp;
}
#ifndef YGOPRO_SERVER_MODE_DISABLE_CLOUD_REPLAY
if(!wcscmp(jpass, L"Marshtomp") && !replay_recorder) {
is_recorder = true;
replay_recorder = dp;
}
#endif //YGOPRO_SERVER_MODE_DISABLE_CLOUD_REPLAY
#else
if(wcscmp(jpass, pass)) {
STOC_ErrorMsg scem;
......
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