From bf0e67a34ab8bfe866daf5c07ef6f72ff2be1fb0 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 23 Jul 2017 21:20:12 +0200 Subject: [PATCH] We want the Timestamp of a team to stay min(Timestamp) to indicate the first time this team finished the map --- src/game/server/score/sql_score.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/score/sql_score.cpp b/src/game/server/score/sql_score.cpp index c14d124dc..6f36fa7b6 100644 --- a/src/game/server/score/sql_score.cpp +++ b/src/game/server/score/sql_score.cpp @@ -688,7 +688,7 @@ bool CSqlScore::SaveTeamScoreThread(CSqlServer* pSqlServer, const CSqlData *pGam if (aUpdateID[0]) { - str_format(aBuf, sizeof(aBuf), "UPDATE %s_teamrace SET Time='%.2f', Timestamp=CURRENT_TIMESTAMP() WHERE ID = '%s';", pSqlServer->GetPrefix(), pData->m_Time, aUpdateID); + str_format(aBuf, sizeof(aBuf), "UPDATE %s_teamrace SET Time='%.2f' WHERE ID = '%s';", pSqlServer->GetPrefix(), pData->m_Time, aUpdateID); dbg_msg("sql", "%s", aBuf); pSqlServer->executeSql(aBuf); }