Restore old /save behavior

This commit is contained in:
Zwelf 2020-06-25 20:42:48 +02:00
parent df66d83a04
commit d169bb1b52

View file

@ -1606,7 +1606,7 @@ bool CSqlScore::SaveTeamThread(CSqlServer* pSqlServer, const CSqlData<CScoreSave
str_copy(Code, pData->m_Code, sizeof(Code));
}
}
if(!UseCode)
else
{
// use random generated passphrase if save code exists or no save code given
pPrepStmt->setString(1, pData->m_aGeneratedCode);