From e7c26cc74c972db597aea0f924f482c48bb550c1 Mon Sep 17 00:00:00 2001 From: henbagle Date: Sun, 22 Sep 2024 16:24:39 -0500 Subject: [PATCH] Fix replacing WwiseEvent lengths in exports with multiple ints in the object name --- .../LegendaryExplorerCore/Sound/Wwise/WwiseHelper.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/LegendaryExplorer/LegendaryExplorerCore/Sound/Wwise/WwiseHelper.cs b/LegendaryExplorer/LegendaryExplorerCore/Sound/Wwise/WwiseHelper.cs index eb6a6ad58c..dc01630c60 100644 --- a/LegendaryExplorer/LegendaryExplorerCore/Sound/Wwise/WwiseHelper.cs +++ b/LegendaryExplorer/LegendaryExplorerCore/Sound/Wwise/WwiseHelper.cs @@ -54,6 +54,7 @@ public static void UpdateReferencedWwiseEventLengths(ExportEntry wwiseStreamExpo tlkId = parsed; specifyByGender = wwiseStreamExport.ObjectName.Name.Contains("player_", StringComparison.OrdinalIgnoreCase); isFemaleStream = splits[i + 1] == "f"; + break; // assume first int we find is the tlk id } } if (tlkId == 0) return;