Fix logging null when failing to find object model
This commit is contained in:
parent
8682942102
commit
df8cb6f1ca
|
@ -118,7 +118,7 @@ public class MeshBuilder
|
|||
var modelPath = campaignResources.GetResourcePath(ResourceType.Object, modelName);
|
||||
if (modelPath == null)
|
||||
{
|
||||
Log.Warning("Failed to find model file: {Path}", modelPath);
|
||||
Log.Warning("Failed to find model file: {Name}", modelName);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue