mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
fix client kicked on connect because no initialization of some value
that i forgot to initlialize because i literally need coffee and food rn fuck
This commit is contained in:
parent
c15046f8b1
commit
8664522d1d
@ -68,7 +68,8 @@ TServer& TClient::Server() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
TClient::TClient(TServer& Server)
|
TClient::TClient(TServer& Server)
|
||||||
: mServer(Server) {
|
: mServer(Server)
|
||||||
|
, mLastPingTime(std::chrono::high_resolution_clock::now()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void TClient::UpdatePingTime() {
|
void TClient::UpdatePingTime() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user