Commit 5f46771b authored by nanahira's avatar nanahira

still count time

parent 0ea21cf0
...@@ -855,8 +855,7 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) { ...@@ -855,8 +855,7 @@ void DuelClient::HandleSTOCPacketLan(char* data, unsigned int len) {
mainGame->dInfo.isReconnected = false; mainGame->dInfo.isReconnected = false;
DuelClient::SendPacketToServer(CTOS_TIME_CONFIRM); DuelClient::SendPacketToServer(CTOS_TIME_CONFIRM);
} }
if(lplayer == 1) mainGame->dInfo.time_player = lplayer;
mainGame->dInfo.time_player = lplayer;
mainGame->dInfo.time_left[lplayer] = pkt->left_time; mainGame->dInfo.time_left[lplayer] = pkt->left_time;
mainGame->RefreshTimeDisplay(); mainGame->RefreshTimeDisplay();
break; break;
......
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