Clean up format logs (#682)

This commit is contained in:
avery
2022-07-26 23:52:53 -07:00
committed by GitHub
parent 9e08bb20d2
commit a632ef8ccd
4 changed files with 8 additions and 8 deletions

View File

@@ -818,7 +818,7 @@ CppScripts::Script* CppScripts::GetScript(Entity* parent, const std::string& scr
script = invalidToReturn;
else if (script == invalidToReturn) {
if (scriptName.length() > 0)
Game::logger->LogDebug("CppScripts", "Attempted to load CppScript for '" + scriptName + "', but returned InvalidScript.");
Game::logger->LogDebug("CppScripts", "Attempted to load CppScript for '%s', but returned InvalidScript.", scriptName.c_str());
// information not really needed for sys admins but is for developers
script = invalidToReturn;