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 authored and Anonymous275 committed 2021-03-18 23:44:14 +02:00
1 parent c15046f8b1
commit 8664522d1d
1 file changed
+2 -1
+2 -1
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() {