function Transitions.onLeaveSpectating(M,l,v,Z,w)PlayerSpectating.leave(M,w)end

function Transitions.onLeaveSpectating(stateMachine, event, from, to, playerComponent)
	PlayerSpectating.leave(stateMachine, playerComponent)
end
