Skip to content

Commit

Permalink
Fix misaligned change
Browse files Browse the repository at this point in the history
  • Loading branch information
yairm210 authored Jun 17, 2024
1 parent 6f86895 commit 3b74e33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fun IHasUniques.uniquesToCivilopediaTextLines(
// (the other constructor guesses the first object by name in the Unique parameters).
yield(
if (colorConsumesResources && unique.type == UniqueType.ConsumesResources)
FormattedLine(unique.getDisplayText(), link = "Resources/${unique.params[1]}", color = "#F42")
FormattedLine(unique.text, link = "Resources/${unique.params[1]}", color = "#F42")
else FormattedLine(unique)
)
}
Expand Down

0 comments on commit 3b74e33

Please sign in to comment.