Lua - output registersave/load error messages to the lua console not the screen

This commit is contained in:
adelikat 2012-03-27 23:58:56 +00:00
parent 251c169cf3
commit 8bc8ec0e5b
1 changed files with 2 additions and 2 deletions

View File

@ -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");
}
}
}