public void deploy(Territory territ, boolean all) {
		if (territ.owner != activePlayer)
			return;
		String placing = troopAmountCombo.getSelectedItem().toString();
		int toPlace = (all || placing.equals("All")) ? deployNum : Math.min(Integer.parseInt(placing), deployNum);
		territ.addUnits(toPlace);
		deployNum -= toPlace;
		activePlayer.updateStats(Player.TROOPS_DEPLOYED, toPlace);
		log(activePlayer.name + " placed " + toPlace + " troops on " + territ.name + ".");
		
		if (deployNum == 0)
			enterAttackState();
		else
			message(activePlayer.name + ", you have " + deployNum + " troops to place.");
		playerPnlHash.get(activePlayer).update();
	}