Fixed type for game birth time

This commit is contained in:
Alexander Dormidontov
2023-03-27 06:53:54 +04:00
parent 1272766d9d
commit 48625cec0c

View File

@@ -1216,7 +1216,7 @@ int Player::receive() {
IN_EVENTS_LOG(ATTACH_TO_GAME);
if (this->client_version > 1) {
long int t = 0;
time_t t = 0;
time(&t);
out_buffer.begin_event(zTIME_RESPONSE);
out_buffer < (unsigned int)t;