Make "Stop all scripts" behave the same as toggling them off

This commit is contained in:
kalimag 2022-12-07 08:14:36 +01:00 committed by James Groom
parent 817b258a79
commit 50fc7e28da
1 changed files with 4 additions and 1 deletions

View File

@ -1058,7 +1058,10 @@ namespace BizHawk.Client.EmuHawk
private void StopAllScriptsMenuItem_Click(object sender, EventArgs e) private void StopAllScriptsMenuItem_Click(object sender, EventArgs e)
{ {
LuaImp.ScriptList.StopAllScripts(); foreach (var file in LuaImp.ScriptList)
{
DisableLuaScript(file);
}
UpdateDialog(); UpdateDialog();
} }