-- ================================================================================
-- LOCAL FUNCTIONS
-- ================================================================================

local function statusChanged()
	local raceStatus = RaceManager:GetRaceStatus()

	-- Hide GUI when round is in session and player is a speeder
	if raceStatus == RaceManager.Status.RoundInProgress then
		CheckpointFrame.Visible = true
	else
		CheckpointFrame.Visible = false
	end
end -- statusChanged()