-- Runs when a round finishes. Reloads all players back into the lobby, removing tools and listeners. 

function PlayerManager.resetPlayers()
	actionManager:UnbindGameActions(activePlayers)
	
	-- REMINDER: Runs for only players actively in the game and doesn't affect those in the lobby. 
	for playerKey, whichPlayer in pairs(activePlayers) do
		leaderboardManager:resetStat(whichPlayer, "Points")
		respawnPlayerInLobby(whichPlayer)
	end

	-- Clears the entire table so it can be used for a new game
	activePlayers = {}
end
