From 30ada92db709503e6526b09355a537b801c59ff0 Mon Sep 17 00:00:00 2001 From: empathicqubit Date: Sat, 8 May 2021 06:41:51 -0400 Subject: [PATCH] Add config option to turn off UI to try to speed things up. --- config.lua | 1 + runner.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.lua b/config.lua index a41f3bf..1cdb80d 100644 --- a/config.lua +++ b/config.lua @@ -42,6 +42,7 @@ _M.StartPowerup = 0 _M.NeatConfig = { DisableSound = true, Threads = 7, +ShowInterface = true, --Filename = "DP1.state", SaveFile = _M.Filename .. ".pool", diff --git a/runner.lua b/runner.lua index 6df5d27..68733aa 100644 --- a/runner.lua +++ b/runner.lua @@ -268,7 +268,7 @@ end local formCtx = nil local form = nil local function displayForm(_M) - if #_M.onRenderFormHandler == 0 then + if config.NeatConfig.ShowInterface == false or #_M.onRenderFormHandler == 0 then return end