diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 65ecc6c2..8bf7255f 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -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])); }