1
0
forked from 0ad/0ad

Remove unnecessary comments in selection_details.js

Related: #7012
This commit is contained in:
abian 2024-09-07 11:09:40 +02:00 committed by Ralph Sennhauser
parent 798cff1f6f
commit b15eb6909e

View File

@ -327,12 +327,10 @@ function displaySingle(entState)
{
const iconBorder = Engine.GetGUIObjectByName("iconBorder");
// Actions on left click
iconBorder.onPress = () => {
setCameraFollow(entState.id);
};
// Actions on right click
iconBorder.onPressRight = () => {
showTemplateDetails(entState.template, playerState.civ);
};