mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-10 04:43:29 +07:00
Resolved #12612 - Display city state type name for battle bonuses
Some checks failed
Conflict marking / main (push) Failing after 6s
Detekt / detekt (ubuntu-latest) (push) Failing after 40s
Generate mkdocs from docs folder / deploy (push) Failing after 23s
Build and test / Check code and run unit tests (push) Failing after 56m5s
Close stale issues and PRs / stale (push) Successful in 17s
Docker / build (push) Failing after 52s
Some checks failed
Conflict marking / main (push) Failing after 6s
Detekt / detekt (ubuntu-latest) (push) Failing after 40s
Generate mkdocs from docs folder / deploy (push) Failing after 23s
Build and test / Check code and run unit tests (push) Failing after 56m5s
Close stale issues and PRs / stale (push) Successful in 17s
Docker / build (push) Failing after 52s
This commit is contained in:
parent
43f8ba47a4
commit
6a63b6fe31
@ -14,7 +14,7 @@ class CityStateType: INamed {
|
||||
var allyBonusUniques = ArrayList<String>()
|
||||
val allyBonusUniqueMap by lazy { allyBonusUniques.toUniqueMap() }
|
||||
private fun ArrayList<String>.toUniqueMap() =
|
||||
UniqueMap(asSequence().map { Unique(it, sourceObjectType = UniqueTarget.CityState) })
|
||||
UniqueMap(asSequence().map { Unique(it, sourceObjectType = UniqueTarget.CityState, sourceObjectName = name) })
|
||||
|
||||
var color: List<Int> = listOf(255,255,255)
|
||||
private val colorObject by lazy { colorFromRGB(color) }
|
||||
|
Loading…
Reference in New Issue
Block a user