Commit 831745a9 authored by mercury233's avatar mercury233

update

parent c1b166e6
......@@ -202,7 +202,9 @@ void SingleDuel::LeaveGame(DuelPlayer* dp) {
} else {
EndDuel();
NetServer::StopServer();
return;
}
ready[host_pos] = false;
STOC_TypeChange sctc;
sctc.type = 0x10 | host_pos;
NetServer::SendPacketToPlayer(players[host_pos], STOC_TYPE_CHANGE, sctc);
......
......@@ -175,7 +175,9 @@ void TagDuel::LeaveGame(DuelPlayer* dp) {
} else {
EndDuel();
NetServer::StopServer();
return;
}
ready[host_pos] = false;
STOC_TypeChange sctc;
sctc.type = 0x10 | host_pos;
NetServer::SendPacketToPlayer(players[host_pos], STOC_TYPE_CHANGE, sctc);
......
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