Skip to content

Commit 2ac36b3

Browse files
committed
Fix non-.RW3 textures exporting with no name
1 parent 2de65f8 commit 2ac36b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

IndustrialPark/ArchiveEditor/ArchiveEditorFunctions_Textures.cs

+3
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ public void ExportTextureDictionary(string fileName, CheckState RW3)
9999
}
100100
else if (name.EndsWith(".RW3"))
101101
tn.textureNativeStruct.textureName = name.Substring(0, name.Length - 4);
102+
else
103+
tn.textureNativeStruct.textureName = name;
104+
102105
textNativeList.Add(tn);
103106
}
104107
}

0 commit comments

Comments
 (0)