diff --git a/CUE4Parse b/CUE4Parse index 72f341d6..5d86195d 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit 72f341d6480e63e677476004bfd1131231c52071 +Subproject commit 5d86195dd1c7dca6097a0ba1661fdf98a2ee2513 diff --git a/FModel/Creator/CreatorPackage.cs b/FModel/Creator/CreatorPackage.cs index 89a6c9e1..cd4cb1df 100644 --- a/FModel/Creator/CreatorPackage.cs +++ b/FModel/Creator/CreatorPackage.cs @@ -127,9 +127,9 @@ namespace FModel.Creator return true; case "MaterialInstanceConstant" when _object.Owner != null && - (_object.Owner.Name.EndsWith($"/MI_OfferImages/{_object.Name}") || - _object.Owner.Name.EndsWith($"/RenderSwitch_Materials/{_object.Name}") || - _object.Owner.Name.EndsWith($"/MI_BPTile/{_object.Name}")): + (_object.Owner.Name.EndsWith($"/MI_OfferImages/{_object.Name}", StringComparison.OrdinalIgnoreCase) || + _object.Owner.Name.EndsWith($"/RenderSwitch_Materials/{_object.Name}", StringComparison.OrdinalIgnoreCase) || + _object.Owner.Name.EndsWith($"/MI_BPTile/{_object.Name}", StringComparison.OrdinalIgnoreCase)): creator = new BaseMaterialInstance(_object, _style); return true; case "FortMtxOfferData":