Fix typo and use GetID for the log

This commit is contained in:
VNC
2020-12-28 19:52:39 +01:00
parent dc1360422f
commit a4c1bf104c

View File

@@ -131,7 +131,7 @@ MonoObject* ScriptingObject::CreateManagedInternal()
MClass* monoClass = GetClass();
if (monoClass == nullptr)
{
LOG(Warning, "Missing managed class for objecct '{0}'.", ToString());
LOG(Warning, "Missing managed class for object with id {0}", GetID());
return nullptr;
}