function Transitions.onEnterSpectating(Z,y,F,g,N)Logger.trace(N.player.Name," \115\116\097\116\101 \099\104\097\110\103\101\058 ",F," -\062 ",g)N:updateStatus("\099\117\114\114\101\110\116\083\116\097\116\101",g)PlayerSpectating.enter(Z,N)end
--[[
	Fired when Spectating is entered, throwing out a player state update, as well as transitioning the player state
]]
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
