Revert "Restore old /save behavior"

This reverts commit d169bb1b52.
This commit is contained in:
def 2020-06-30 20:15:46 +02:00
parent 59a7e1f187
commit d10cb17e54

View file

@ -1615,7 +1615,7 @@ bool CSqlScore::SaveTeamThread(CSqlServer* pSqlServer, const CSqlData<CScoreSave
str_copy(Code, pData->m_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);