function Transitions.onLeavePreGame(w,n,N,X,t)PlayerPreGame.leave(w,t)end

function Transitions.onLeavePreGame(stateMachine, event, from, to, playerComponent)
	PlayerPreGame.leave(stateMachine, playerComponent)
end
