From df8cb6f1caf0cbb819c918bcf95f39321407813b Mon Sep 17 00:00:00 2001 From: Jarrod Doyle Date: Tue, 14 Jan 2025 20:54:21 +0000 Subject: [PATCH] Fix logging null when failing to find object model --- KeepersCompound.Lightmapper/MeshBuilder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KeepersCompound.Lightmapper/MeshBuilder.cs b/KeepersCompound.Lightmapper/MeshBuilder.cs index a4d3551..a63dd9f 100644 --- a/KeepersCompound.Lightmapper/MeshBuilder.cs +++ b/KeepersCompound.Lightmapper/MeshBuilder.cs @@ -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; }