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:
Lion Kortlepel 2021-02-17 13:11:59 +01:00 committed by Anonymous275
parent c15046f8b1
commit 8664522d1d

View File

@ -68,7 +68,8 @@ TServer& TClient::Server() const {
}
TClient::TClient(TServer& Server)
: mServer(Server) {
: mServer(Server)
, mLastPingTime(std::chrono::high_resolution_clock::now()) {
}
void TClient::UpdatePingTime() {