mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-25 04:43:05 -04:00
Sorted list of icons for promotions (#2164)
This commit is contained in:
parent
c7d020e32d
commit
6c5f729333
@ -167,7 +167,7 @@ class UnitTable(val worldScreen: WorldScreen) : Table(){
|
||||
|
||||
if(selectedUnit!=null) {
|
||||
unitIconHolder.add(UnitGroup(selectedUnit!!,30f)).pad(5f)
|
||||
for(promotion in selectedUnit!!.promotions.promotions)
|
||||
for(promotion in selectedUnit!!.promotions.promotions.sorted())
|
||||
promotionsTable.add(ImageGetter.getPromotionIcon(promotion))
|
||||
|
||||
// Since Clear also clears the listeners, we need to re-add it every time
|
||||
|
Loading…
x
Reference in New Issue
Block a user