Merge pull request #8732 from heinrich5991/pr_ddnet_louder_sixup_disabling

Complain on higher log level that 0.7 support was disabled
This commit is contained in:
Dennis Felsing 2024-08-15 13:19:40 +00:00 committed by GitHub
commit 2748cf58be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2591,9 +2591,8 @@ int CServer::LoadMap(const char *pMapName)
{ {
m_pRegister->OnConfigChange(); m_pRegister->OnConfigChange();
} }
str_format(aBufMsg, sizeof(aBufMsg), "couldn't load map %s", aBuf); log_error("sixup", "couldn't load map %s", aBuf);
Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "sixup", aBufMsg); log_info("sixup", "disabling 0.7 compatibility");
Console()->Print(IConsole::OUTPUT_LEVEL_ADDINFO, "sixup", "disabling 0.7 compatibility");
} }
else else
{ {