Lua Console - when opening a duplicate lua script, don't turn script on if the disable lua script on load option is checked
This commit is contained in:
parent
652fea7392
commit
bb7e320f92
|
@ -182,7 +182,7 @@ namespace BizHawk.MultiClient
|
|||
{
|
||||
for (int i = 0; i < luaList.Count; i++)
|
||||
{
|
||||
if (path == luaList[i].Path && luaList[i].Enabled == false)
|
||||
if (path == luaList[i].Path && luaList[i].Enabled == false && !Global.Config.DisableLuaScriptsOnLoad)
|
||||
{
|
||||
luaList[i].Toggle();
|
||||
LuaListView.Refresh();
|
||||
|
|
Loading…
Reference in New Issue