Add config option to turn off UI to try to speed things up.
This commit is contained in:
parent
d224ba7805
commit
30ada92db7
2 changed files with 2 additions and 1 deletions
|
@ -42,6 +42,7 @@ _M.StartPowerup = 0
|
||||||
_M.NeatConfig = {
|
_M.NeatConfig = {
|
||||||
DisableSound = true,
|
DisableSound = true,
|
||||||
Threads = 7,
|
Threads = 7,
|
||||||
|
ShowInterface = true,
|
||||||
--Filename = "DP1.state",
|
--Filename = "DP1.state",
|
||||||
SaveFile = _M.Filename .. ".pool",
|
SaveFile = _M.Filename .. ".pool",
|
||||||
|
|
||||||
|
|
|
@ -268,7 +268,7 @@ end
|
||||||
local formCtx = nil
|
local formCtx = nil
|
||||||
local form = nil
|
local form = nil
|
||||||
local function displayForm(_M)
|
local function displayForm(_M)
|
||||||
if #_M.onRenderFormHandler == 0 then
|
if config.NeatConfig.ShowInterface == false or #_M.onRenderFormHandler == 0 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue