diff --git a/project/code/LGS/ResourcePathManager.cs b/project/code/LGS/ResourcePathManager.cs index 8cf2048..ec31c1c 100644 --- a/project/code/LGS/ResourcePathManager.cs +++ b/project/code/LGS/ResourcePathManager.cs @@ -136,6 +136,7 @@ public class ResourcePathManager { if (!_initialised) return null; + objectName = objectName.ToLower(); if (_omResources.objectPathMap.TryGetValue(objectName, out var path)) { return path; @@ -147,6 +148,7 @@ public class ResourcePathManager { if (!_initialised) return null; + objectName = objectName.ToLower(); if (_fmResources.TryGetValue(campaignName, out var campaign) && campaign.objectPathMap.TryGetValue(objectName, out var path)) {