bugfix vector erase

This commit is contained in:
Kai Philipp
2019-09-14 18:07:54 +02:00
parent 213d110bc6
commit df81e925dc
2 changed files with 22 additions and 12 deletions
+2 -2
View File
@@ -290,8 +290,8 @@ LOG_ERROR("checking IsPlayerAllowedToJoinCreateLimitRank() ");
LOG_ERROR("counting timeStamp in time " << *timeStamp);
count++;
}else{
//LOG_ERROR("erasing overdued timestamp " << *timeStamp);
//m_last_games.erase(m_last_games.begin() + i); // erase overdued entries
LOG_ERROR("erasing overdued timestamp " << *timeStamp);
m_last_games.erase(m_last_games.begin() + i); // erase overdued entries
}
i++;
}