--[[
	Function called upon entering the state - cleans up the previous game
]]

function ServerPostGame.onEnter(stateMachine, event, from, to)
	SystemManager.destroySystems()

	for _, child in pairs(workspace.Tools:GetChildren()) do
		child:Destroy()
	end

	wait(8)
	stateMachine:beginNextGame()
end
