Fix format-string in ComponentManager

Introduced in 9822a22573 by switching to `fmt::format`.
This commit is contained in:
phosit
2026-09-05 15:40:01 +02:00
parent 551071c5a4
commit 3b967ab40c
@@ -218,8 +218,7 @@ void CComponentManager::Script_RegisterComponentType_Common(int iid, const std::
if (ctPrevious.type != CT_Script)
{
throw std::logic_error{fmt::format(
"Loading script component type with same name '%s' as native component",
cname.c_str())};
"Loading script component type with same name '{}' as native component", cname)};
}
// We don't support changing the IID of a component type (it would require fiddling