Commit 07aa1990 authored by nanahira's avatar nanahira Committed by GitHub

fix 1:1 problem

parent 9118eba8
......@@ -114,7 +114,7 @@ void NetServer::StopServer() {
if(duel_mode)
duel_mode->EndDuel();
#ifdef YGOPRO_SERVER_MODE // For solving the problem of connection lost after duel. See https://github.com/Fluorohydride/ygopro/issues/2067 for details.
timeval etv = { 0, 1 };
timeval etv = { 0, 200 };
event_base_loopexit(net_evbase, &etv);
#else
event_base_loopexit(net_evbase, 0);
......
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