ensureConditionsInit
Definition
-- @/lua/vehicle/partCondition.lua:558
--used to make blind calls against partCondition to make sure that everything is inited correctly
local function ensureConditionsInit(fallbackOdometer, fallbackIntegrityValue, fallbackVisualValue)
if tableIsEmpty(hasSetPartCondition) then
initConditions(nil, fallbackOdometer, fallbackIntegrityValue, fallbackVisualValue)
end
end
Callers
@/lua/vehicle/extensions/gameplayInterfaceModules/interactPartCondition.lua
local function ensureConditionsInit(params)
local dataTypeCheck, dataTypeError = checkTableDataTypes(params, {"number", "number", "number"})
local fallbackVisualValue = params[3]
partCondition.ensureConditionsInit(fallbackOdometer, fallbackIntegrityValue, fallbackVisualValue)
end