mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-24 18:06:04 +07:00
Do not resort building uniques when displaying in Civilopedia - leave as the json order to allow modders to determine order themselves
This commit is contained in:
parent
1e7eff9d1e
commit
f703f2fbde
@ -258,7 +258,7 @@ class Building : RulesetStatsObject(), INonPerpetualConstruction {
|
||||
if (replacementTextForUniques.isNotEmpty()) {
|
||||
textList += FormattedLine(replacementTextForUniques)
|
||||
} else if (uniques.isNotEmpty()) {
|
||||
for (unique in uniqueObjects.sortedBy { it.text }) {
|
||||
for (unique in uniqueObjects) {
|
||||
if (unique.hasFlag(UniqueFlag.HiddenToUsers)) continue
|
||||
if (unique.type == UniqueType.ConsumesResources) continue // already shown from getResourceRequirements
|
||||
textList += FormattedLine(unique)
|
||||
|
Loading…
Reference in New Issue
Block a user