Browse Source

Fix format string

Ivan Savenko 7 months ago
parent
commit
f04cac4101
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/mapObjectConstructors/CObjectClassesHandler.cpp

+ 1 - 1
lib/mapObjectConstructors/CObjectClassesHandler.cpp

@@ -181,7 +181,7 @@ void CObjectClassesHandler::loadSubObject(const std::string & scope, const std::
 		if (identifier != compatID.String())
 		if (identifier != compatID.String())
 			registerObject(scope, baseObject->getJsonKey(), compatID.String(), subObject->subtype);
 			registerObject(scope, baseObject->getJsonKey(), compatID.String(), subObject->subtype);
 		else
 		else
-			logMod->warn("Mod '%s' map object '%s': compatibility identifier has same name as object itself!");
+			logMod->warn("Mod '%s' map object '%s': compatibility identifier has same name as object itself!", scope, identifier);
 	}
 	}
 }
 }