Skip to content

Commit

Permalink
fix incorrect file names when saving localized textures
Browse files Browse the repository at this point in the history
  • Loading branch information
ZingBallyhoo committed May 2, 2024
1 parent d583739 commit 8a9467d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DataTool/SaveLogic/Combo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,6 @@ public static void SaveTexture(ICLIFlags flags, string path, SaveContext info, u
path += Path.DirectorySeparatorChar;

string filePath = Path.Combine(path, options.FileNameOverride ?? $"{textureInfo.GetNameIndex()}");
if (teResourceGUID.Type(textureGUID) != 0x4) filePath += $".{teResourceGUID.Type(textureGUID):X3}";

if (Program.Flags is { Deduplicate: true }) {
if (ScratchDBInstance.HasRecord(textureGUID)) {
Expand Down

0 comments on commit 8a9467d

Please sign in to comment.