Fix logging null when failing to find object model

This commit is contained in:
Jarrod Doyle 2025-01-14 20:54:21 +00:00
parent 8682942102
commit df8cb6f1ca
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class MeshBuilder
var modelPath = campaignResources.GetResourcePath(ResourceType.Object, modelName); var modelPath = campaignResources.GetResourcePath(ResourceType.Object, modelName);
if (modelPath == null) if (modelPath == null)
{ {
Log.Warning("Failed to find model file: {Path}", modelPath); Log.Warning("Failed to find model file: {Name}", modelName);
continue; continue;
} }