Commit 14810eb2 authored by mercury233's avatar mercury233

more times

parent 161b5021
...@@ -629,7 +629,7 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) { ...@@ -629,7 +629,7 @@ void SingleDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
if(host_info.time_limit) { if(host_info.time_limit) {
time_elapsed = 0; time_elapsed = 0;
#ifdef YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE
time_compensator = 60; time_compensator = 120;
#endif #endif
timeval timeout = { 1, 0 }; timeval timeout = { 1, 0 };
event_add(etimer, &timeout); event_add(etimer, &timeout);
......
...@@ -634,7 +634,7 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) { ...@@ -634,7 +634,7 @@ void TagDuel::TPResult(DuelPlayer* dp, unsigned char tp) {
if(host_info.time_limit) { if(host_info.time_limit) {
time_elapsed = 0; time_elapsed = 0;
#ifdef YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE
time_compensator = 60; time_compensator = 120;
#endif #endif
timeval timeout = { 1, 0 }; timeval timeout = { 1, 0 };
event_add(etimer, &timeout); event_add(etimer, &timeout);
......
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