1st timestamp iteration and vector cleanup

This commit is contained in:
Kai Philipp
2019-09-09 22:40:16 +02:00
parent cb51ee79f2
commit 2effd5219a
3 changed files with 26 additions and 6 deletions
+2 -2
View File
@@ -1438,9 +1438,9 @@ ServerLobbyThread::HandleNetPacketJoinGame(boost::shared_ptr<SessionData> sessio
// ){
// SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_IP_BLOCKED);
} else {
// @FIXME: debug only - final poition is gamestart
// @FIXME: debug only - final position is gamestart
session->AddPlayerLastGame((unsigned long)time(NULL));
LOG_ERROR("TimeStamp stored: " << session->GetPlayerLastGames().front());
//LOG_ERROR("TimeStamp stored: " << session->GetPlayerLastGames().front());
MoveSessionToGame(game, session, joinGame.autoleave(), false);
}
}