--[[
	Function called upon entering the state
]]

function PlayerPreGameReady.onEnter(stateMachine, serverPlayer, event, from, to)
	local element = playerReady:Clone()
	local playerName = serverPlayer.player.Name
	element.Name = playerName

	element.Text = playerName

	element.Parent = playerStatusBoard
end
