From d10cb17e54b71ae352d01e90c4b3a94f314553e0 Mon Sep 17 00:00:00 2001 From: def Date: Tue, 30 Jun 2020 20:15:46 +0200 Subject: [PATCH] Revert "Restore old /save behavior" This reverts commit d169bb1b526f3112ddefa3423a0d572a6c503b2b. --- 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 a53ab05f4..ca0d5ea0e 100644 --- a/src/game/server/score/sql_score.cpp +++ b/src/game/server/score/sql_score.cpp @@ -1615,7 +1615,7 @@ bool CSqlScore::SaveTeamThread(CSqlServer* pSqlServer, const CSqlDatam_Code, sizeof(Code)); } } - else + if(!UseCode) { // use random generated passphrase if save code exists or no save code given pPrepStmt->setString(1, pData->m_aGeneratedCode);