We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34ba68f commit 4f920e5Copy full SHA for 4f920e5
C7/Map/MapView.cs
@@ -98,7 +98,7 @@ private MapUnit selectUnitToDisplay(List<MapUnit> units) {
98
}
99
100
// Prefer showing the selected unit, secondly show one doing a relevant animation, otherwise show the top defender
101
- return selected is not null ? selected : (interesting is not null ? interesting : bestDefender);
+ return selected ?? interesting ?? bestDefender;
102
103
104
public List<Tile> getVisibleTiles() {
0 commit comments