Fixed: * if a lua script errors it stops, but you can't toggle it back because you can't resume a non-suspended script
This commit is contained in:
parent
720b1cc2ba
commit
e0d98c8a7f
|
@ -848,6 +848,7 @@ namespace BizHawk.MultiClient
|
||||||
if (ex is LuaInterface.LuaScriptException || ex is LuaInterface.LuaException)
|
if (ex is LuaInterface.LuaScriptException || ex is LuaInterface.LuaException)
|
||||||
{
|
{
|
||||||
s.Enabled = false;
|
s.Enabled = false;
|
||||||
|
s.Thread = null;
|
||||||
AddText(ex.ToString());
|
AddText(ex.ToString());
|
||||||
UpdateNumberOfScripts();
|
UpdateNumberOfScripts();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue