-- ================================================================================
-- GUI BUTTON FUNCTIONS
-- ================================================================================

local function EnterFreeFlight()
	-- Hide current window
	hide()
	
	-- Set selected game mode
	SelectedMode.Value = "FreeFlight"
	
	-- Show selection window
	SelectionFrame.Visible = true
end

local function EnterRace()
	-- Hide current window
	hide()
	
	-- Set selected game mode
	SelectedMode.Value = "Racing"
	
	-- Show selections window
	SelectionFrame.Visible = true
end