Fix `--lua`/`--luaconsole` causing that window to open before MainForm
This commit is contained in:
parent
5f835164de
commit
1d8c088261
|
@ -726,6 +726,8 @@ namespace BizHawk.Client.EmuHawk
|
|||
};
|
||||
}
|
||||
|
||||
Shown += (_, _) =>
|
||||
{
|
||||
//start Lua Console if requested in the command line arguments
|
||||
if (_argParser.luaConsole)
|
||||
{
|
||||
|
@ -736,6 +738,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
_ = Tools.LuaConsole.LoadByFileExtension(_argParser.luaScript.MakeAbsolute(), out _);
|
||||
}
|
||||
};
|
||||
|
||||
SetStatusBar();
|
||||
|
||||
|
|
Loading…
Reference in New Issue