diff --git a/src/game/server/score.cpp b/src/game/server/score.cpp index 0a0a54638..3f5e0ee82 100644 --- a/src/game/server/score.cpp +++ b/src/game/server/score.cpp @@ -454,10 +454,10 @@ bool CScore::MapInfoThread(IDbConnection *pSqlServer, const ISqlData *pGameData, int Stars = pSqlServer->GetInt(5); int Finishes = pSqlServer->GetInt(6); int Finishers = pSqlServer->GetInt(7); - float Median = pSqlServer->GetInt(8); + float Median = !pSqlServer->IsNull(8) ? pSqlServer->GetInt(8) : -1.0f; int Stamp = pSqlServer->GetInt(9); int Ago = pSqlServer->GetInt(10); - float OwnTime = pSqlServer->GetFloat(11); + float OwnTime = !pSqlServer->IsNull(11) ? pSqlServer->GetFloat(11) : -1.0f; char aAgoString[40] = "\0"; char aReleasedString[60] = "\0";