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:
Rolanmen1 2012-03-29 20:22:49 +00:00
parent 720b1cc2ba
commit e0d98c8a7f
1 changed files with 1 additions and 0 deletions

View File

@ -848,6 +848,7 @@ namespace BizHawk.MultiClient
if (ex is LuaInterface.LuaScriptException || ex is LuaInterface.LuaException)
{
s.Enabled = false;
s.Thread = null;
AddText(ex.ToString());
UpdateNumberOfScripts();
}