Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HumanGamer committed Jun 23, 2021
1 parent d6c4d39 commit 844853a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/source/game/gameConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ void GameConnection::onConnectionEstablished(bool isInitiator)
setSendingEvents(true);
setTranslatesStrings(true);
Sim::getClientGroup()->addObject(this);
mTotalServerTicks = -1;
mTotalServerTicks = ServerTicksUninitialized;

const char* argv[MaxConnectArgs + 2];
argv[0] = "onConnect";
Expand All @@ -184,7 +184,7 @@ void GameConnection::onDisconnect(const char* reason)
{
Con::printf("Connection with server lost.");
Con::executef(this, 2, "onConnectionDropped", reason);
mTotalServerTicks = -1;
mTotalServerTicks = ServerTicksUninitialized;
}
else
{
Expand Down

0 comments on commit 844853a

Please sign in to comment.