From eb6a2c33158f309d8b13a9ec846701007d948ed6 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 22 Dec 2019 09:17:13 -0600 Subject: [PATCH] remove usages of Global to get to lua console, from lua console --- BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs b/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs index 6f8c4ebb37..32d28e1633 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs @@ -1185,7 +1185,7 @@ namespace BizHawk.Client.EmuHawk LuaImp.ScriptList.Any(file => file.Enabled); ClearRegisteredFunctionsContextItem.Enabled = - GlobalWin.Tools.LuaConsole.LuaImp.RegisteredFunctions.Any(); + LuaImp.RegisteredFunctions.Any(); } private void ConsoleContextMenu_Opening(object sender, CancelEventArgs e) @@ -1197,7 +1197,7 @@ namespace BizHawk.Client.EmuHawk OutputBox.Text.Any(); ClearRegisteredFunctionsLogContextItem.Enabled = - GlobalWin.Tools.LuaConsole.LuaImp.RegisteredFunctions.Any(); + LuaImp.RegisteredFunctions.Any(); } private void ClearConsoleContextItem_Click(object sender, EventArgs e) @@ -1235,7 +1235,7 @@ namespace BizHawk.Client.EmuHawk private void ClearRegisteredFunctionsContextMenuItem_Click(object sender, EventArgs e) { - GlobalWin.Tools.LuaConsole.LuaImp.RegisteredFunctions.Clear(); + LuaImp.RegisteredFunctions.Clear(); } #endregion