diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs index 7d3a8a7fd9..cd9aa47ae4 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs @@ -145,6 +145,8 @@ namespace BizHawk.Client.EmuHawk public static void SetSoundOn(bool enable) { Global.Config.SoundEnabled = enable; + GlobalWin.Sound.StopSound(); + GlobalWin.Sound.StartSound(); } [LuaMethodExample("if ( client.GetSoundOn( ) ) then\r\n\tconsole.log( \"Gets the state of the Sound On toggle\" );\r\nend;")]