diff --git a/src/game/server/scoreworker.cpp b/src/game/server/scoreworker.cpp index c16284122..85a7b677f 100644 --- a/src/game/server/scoreworker.cpp +++ b/src/game/server/scoreworker.cpp @@ -128,7 +128,7 @@ bool CScoreWorker::LoadPlayerData(IDbConnection *pSqlServer, const ISqlData *pGa auto *pResult = dynamic_cast(pGameData->m_pResult.get()); pResult->SetVariant(CScorePlayerResult::PLAYER_INFO); - char aBuf[512]; + char aBuf[1024]; // get best race time str_format(aBuf, sizeof(aBuf), "SELECT" @@ -1002,7 +1002,7 @@ bool CScoreWorker::ShowTeamTop5(IDbConnection *pSqlServer, const ISqlData *pGame const char *pOrder = pData->m_Offset >= 0 ? "ASC" : "DESC"; // check sort method - char aBuf[512]; + char aBuf[1024]; str_format(aBuf, sizeof(aBuf), "SELECT Name, Time, Ranking, TeamSize "