Develop to Main (#32)

Reviewed-on: #32
Co-authored-by: dutchie031 <timrorije@gmail.com>
This commit was merged in pull request #32.
This commit is contained in:
2026-08-20 15:00:07 +00:00
committed by dutchie031
parent 7475c03db2
commit f7ff367f5b
36 changed files with 1168 additions and 540 deletions
+14 -2
View File
@@ -4,7 +4,8 @@
local briefingMessageTime = nil
---@class GlobalConfig
---@field private _briefingTime number ;
---@field private _briefingTime number
---@field private _debugEnabled boolean
local GlobalConfig = {}
GlobalConfig.__index = GlobalConfig;
@@ -19,13 +20,24 @@ function GlobalConfig.New()
if SpearheadConfig.briefingMessageDuration then
self._briefingTime = SpearheadConfig.briefingMessageDuration
end
if SpearheadConfig.debugEnabled ~= nil then
self._debugEnabled = SpearheadConfig.debugEnabled
else
self._debugEnabled = false
end
end
return self
end
function GlobalConfig:getBriefingTime()
return self._briefingTime or 30
return self._briefingTime or 60
end
function GlobalConfig:isDebugEnabled()
return self._debugEnabled or false
end