From 8bc8ec0e5bd34b13f08927250ec5a74a05ed154b Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 27 Mar 2012 23:58:56 +0000 Subject: [PATCH] Lua - output registersave/load error messages to the lua console not the screen --- BizHawk.MultiClient/LuaImplementation.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.MultiClient/LuaImplementation.cs b/BizHawk.MultiClient/LuaImplementation.cs index 33d28ee3f8..c685257c18 100644 --- a/BizHawk.MultiClient/LuaImplementation.cs +++ b/BizHawk.MultiClient/LuaImplementation.cs @@ -35,7 +35,7 @@ namespace BizHawk.MultiClient } catch { - Global.RenderPanel.AddMessage("error running function attached by lua function savestate.registersave"); + Global.MainForm.LuaConsole1.WriteToOutputWindow("error running function attached by lua function savestate.registersave"); } } } @@ -50,7 +50,7 @@ namespace BizHawk.MultiClient } catch { - Global.RenderPanel.AddMessage("error running function attached by lua function savestate.registerload"); + Global.MainForm.LuaConsole1.WriteToOutputWindow("error running function attached by lua function savestate.registerload"); } } }