diff --git a/CUE4Parse b/CUE4Parse index bd2c5179..8304388d 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit bd2c5179997c4507de84f7de76419f3bcdd8c2c1 +Subproject commit 8304388d6bec644d298382942fe02b3e0ee1e7d0 diff --git a/FModel/Resources/deadbydaylight.png b/FModel/Resources/deadbydaylight.png deleted file mode 100644 index 45aeb77d..00000000 Binary files a/FModel/Resources/deadbydaylight.png and /dev/null differ diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs index a825cdfd..3bbea72b 100644 --- a/FModel/ViewModels/CUE4ParseViewModel.cs +++ b/FModel/ViewModels/CUE4ParseViewModel.cs @@ -845,8 +845,8 @@ public class CUE4ParseViewModel : ViewModel var projectName = string.IsNullOrEmpty(Provider.ProjectName) ? "Game" : Provider.ProjectName; var baseWwiseAudioPath = DetermineBaseWwiseAudioPath(projectName, kvp.Value.Value); - var audioEventPath = pointer.Object.Value.GetPathName().Replace("Game", projectName); - + var audioEventPath = pointer.Object.Value.GetPathName().StartsWith("Game") ? pointer.Object.Value.GetPathName().Replace("Game", projectName) : pointer.Object.Value.GetPathName(); + foreach (var soundBank in kvp.Value.Value.SoundBanks) { if (!soundBank.bContainsMedia) diff --git a/FModel/Views/Resources/Resources.xaml b/FModel/Views/Resources/Resources.xaml index be269162..c960da54 100644 --- a/FModel/Views/Resources/Resources.xaml +++ b/FModel/Views/Resources/Resources.xaml @@ -417,9 +417,6 @@ - - -