onDriftContextChanged
Definition
-- @/lua/ge/extensions/gameplay/drift/drift.lua:909
local function onDriftContextChanged(context, oldContext)
if oldContext ~= context then
if context ~= "inAnotherMissionType" then
tryTrackDriftVehForCrash()
elseif context == "inAnotherMissionType" then
gameplay_util_crashDetection.removeTrackedVehicleById(vehId)
end
end
end
Callers
@/lua/ge/extensions/gameplay/drift/display.lua
local function onDriftContextChanged(context)
if context == "inFreeroamChallenge" or context == "inChallenge" then