bugfix string split

This commit is contained in:
Kai Philipp
2019-09-14 18:10:36 +02:00
parent 3f1f946653
commit f44711082b
+1 -1
View File
@@ -1818,7 +1818,7 @@ LOG_ERROR("last_games from db = " << dbPlayerData.last_games);
boost::split(last_games, dbPlayerData.last_games, boost::is_any_of(","));
for (int i = 0; i < last_games.size(); i++){
if(result[i].length() > 0)
if(last_games[i].length() > 0)
tmpSession->GetPlayerData()->AddPlayerLastGame(stol(last_games[i]));
}