mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Restore old /save behavior
This commit is contained in:
parent
df66d83a04
commit
d169bb1b52
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue