Skip to content

Commit

Permalink
Fixed compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
Metious committed Nov 10, 2024
1 parent bc0f61a commit d1dd0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nautilus/Patchers/CustomSoundPatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ public static bool FMOD_CustomEmitter_ReleaseEvent_Prefix(FMOD_CustomEmitter __i
if (__instance.asset == null || !CustomSounds.ContainsKey(__instance.asset.path) && !CustomFModSounds.ContainsKey(__instance.asset.path)) return true;
if (!EmitterPlayedChannels.TryGetValue(__instance.GetInstanceID(), out var channel)) return false; // known sound but not played yet

!TryFadeOutBeforeStop(channel);
TryFadeOutBeforeStop(channel);

EmitterPlayedChannels.Remove(__instance.GetInstanceID());

Expand Down

0 comments on commit d1dd0c0

Please sign in to comment.