don't reference GlobalWin.LuaConsole in LuaConsole!

This commit is contained in:
adelikat 2017-05-23 13:04:28 -05:00
parent facd845453
commit 4919fc5182
1 changed files with 2 additions and 2 deletions

View File

@ -761,7 +761,7 @@ namespace BizHawk.Client.EmuHawk
SelectAllMenuItem.Enabled = LuaImp.ScriptList.Any(); SelectAllMenuItem.Enabled = LuaImp.ScriptList.Any();
StopAllScriptsMenuItem.Enabled = LuaImp.ScriptList.Any(script => script.Enabled); StopAllScriptsMenuItem.Enabled = LuaImp.ScriptList.Any(script => script.Enabled);
RegisteredFunctionsMenuItem.Enabled = GlobalWin.Tools.LuaConsole.LuaImp.RegisteredFunctions.Any(); RegisteredFunctionsMenuItem.Enabled = LuaImp.RegisteredFunctions.Any();
} }
private void NewScriptMenuItem_Click(object sender, EventArgs e) private void NewScriptMenuItem_Click(object sender, EventArgs e)
@ -862,7 +862,7 @@ namespace BizHawk.Client.EmuHawk
item.Stop(); item.Stop();
if (Global.Config.RemoveRegisteredFunctionsOnToggle) if (Global.Config.RemoveRegisteredFunctionsOnToggle)
{ {
GlobalWin.Tools.LuaConsole.LuaImp.RegisteredFunctions.ClearAll(); LuaImp.RegisteredFunctions.ClearAll();
} }
} }
} }