mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-26 21:35:14 -04:00
Resolved #6147 - can see improvement removal icons in Civilopedia
This commit is contained in:
parent
3bbfb0100c
commit
b62617c4d2
@ -262,7 +262,7 @@ object ImageGetter {
|
||||
|
||||
fun getImprovementIcon(improvementName: String, size: Float = 20f): Group {
|
||||
if (improvementName.startsWith(Constants.remove) || improvementName == Constants.cancelImprovementOrder)
|
||||
return Table().apply { add(getImage("OtherIcons/Stop")).size(size) }
|
||||
return getImage("OtherIcons/Stop").surroundWithCircle(size)
|
||||
|
||||
val iconGroup = getImage("ImprovementIcons/$improvementName").surroundWithCircle(size)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user