public void handleAbilityButtonClick(Ability ability) {
		panel.getMatchInfoPanel().setSurrenderPending(false); 
		if (inProgress && selectedTile != null) { //Ignore ability button clicks when the match is over.
			setRange(new Range(this, selectedTile, ability));
		}
	}