function Transitions.onEnterSpectating(t,K,s,o,a)Logger.trace(a.player.Name," \115\116\097\116\101 \099\104\097\110\103\101\058 ",s," -\062 ",o)a:updateStatus("\099\117\114\114\101\110\116\083\116\097\116\101",o)PlayerSpectating.enter(t,a)end

function Transitions.onEnterSpectating(stateMachine, event, from, to, playerComponent)
	Logger.trace(playerComponent.player.Name, " state change: ", from, " -> ", to)
	playerComponent:updateStatus("currentState", to)
	PlayerSpectating.enter(stateMachine, playerComponent)
end
