diff --git a/core/src/com/unciv/models/ruleset/unique/UniqueType.kt b/core/src/com/unciv/models/ruleset/unique/UniqueType.kt index ad30bac628..f3aa184783 100644 --- a/core/src/com/unciv/models/ruleset/unique/UniqueType.kt +++ b/core/src/com/unciv/models/ruleset/unique/UniqueType.kt @@ -452,7 +452,6 @@ enum class UniqueType(val text: String, vararg targets: UniqueTarget, val flags: CarryAirUnits("Can carry [amount] [mapUnitFilter] units", UniqueTarget.Unit), CarryExtraAirUnits("Can carry [amount] extra [mapUnitFilter] units", UniqueTarget.Unit), CannotBeCarriedBy("Cannot be carried by [mapUnitFilter] units", UniqueTarget.Unit), - // Interception ChanceInterceptAirAttacks("[relativeAmount]% chance to intercept air attacks", UniqueTarget.Unit), DamageFromInterceptionReduced("Damage taken from interception reduced by [relativeAmount]%", UniqueTarget.Unit), diff --git a/core/src/com/unciv/ui/components/Fonts.kt b/core/src/com/unciv/ui/components/Fonts.kt index 497936aed5..3f9e4aae57 100644 --- a/core/src/com/unciv/ui/components/Fonts.kt +++ b/core/src/com/unciv/ui/components/Fonts.kt @@ -160,8 +160,13 @@ class NativeBitmapFontData( MayaCalendar.katun -> getPixmap(MayaCalendar.katunIcon) MayaCalendar.baktun -> getPixmap(MayaCalendar.baktunIcon) in MayaCalendar.digits -> getPixmap(MayaCalendar.digitIcon(ch)) - in Fonts.charToRulesetImageActor -> Fonts.getPixmapFromActor( - Fonts.charToRulesetImageActor[ch]!!) + in Fonts.charToRulesetImageActor -> + try { + // This sometimes fails with a "Frame buffer couldn't be constructed: incomplete attachment" error, unclear why + Fonts.getPixmapFromActor(Fonts.charToRulesetImageActor[ch]!!) + } catch (ex: Exception) { + Pixmap(0,0, Pixmap.Format.RGBA8888) // Empty space + } else -> fontImplementation.getCharPixmap(ch) } } diff --git a/docs/Modders/uniques.md b/docs/Modders/uniques.md index c072d4d3fb..5673736744 100644 --- a/docs/Modders/uniques.md +++ b/docs/Modders/uniques.md @@ -806,9 +806,6 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl ??? example "Can only heal by pillaging" Applicable to: Global, Unit -??? example "Normal vision when embarked" - Applicable to: Global, Unit - ??? example "Defense bonus when embarked" Applicable to: Global, Unit