bugfix string split
This commit is contained in:
@@ -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]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user