fix StaticSoundInstance.Pause not actually pausing

pull/50/head
cosmonaut 2023-06-30 11:51:20 -07:00
parent 74ae295036
commit dbbd6540ab
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ namespace MoonWorks.Audio
public override void Pause()
{
if (State == SoundState.Paused)
if (State == SoundState.Playing)
{
FAudio.FAudioSourceVoice_Stop(Voice, 0, 0);
State = SoundState.Paused;