setConfiguration
Definition
-- @/lua/ge/extensions/core/lapTimes.lua:120
-- Set configuration
local function setConfiguration(config)
if config.totalLaps then
totalLaps = config.totalLaps
end
if config.totalSegments then
totalSegments = config.totalSegments
end
if config.closedCircuit ~= nil then
closedCircuit = config.closedCircuit
end
end
Callers
@/lua/ge/extensions/core/lapTimes.lua
end
M.setConfiguration({
totalLaps = race.lapCount or 0,
@/lua/ge/extensions/gameplay/crawl/utils.lua
if path and path.nodes then
core_lapTimes.setConfiguration({
totalLaps = 1,