From 2ac36b36c16e8673a015621d52b2edb2b750a55a Mon Sep 17 00:00:00 2001 From: Seil Weiss <32021834+seilweiss@users.noreply.github.com> Date: Mon, 9 Jan 2023 12:43:58 -0600 Subject: [PATCH] Fix non-.RW3 textures exporting with no name --- .../ArchiveEditor/ArchiveEditorFunctions_Textures.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_Textures.cs b/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_Textures.cs index dfc6cc22..4f1efa89 100644 --- a/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_Textures.cs +++ b/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_Textures.cs @@ -99,6 +99,9 @@ public void ExportTextureDictionary(string fileName, CheckState RW3) } else if (name.EndsWith(".RW3")) tn.textureNativeStruct.textureName = name.Substring(0, name.Length - 4); + else + tn.textureNativeStruct.textureName = name; + textNativeList.Add(tn); } }