mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-14 01:39:40 +07:00
Can no longer choose Great War Infantry as free gp.
This commit is contained in:
@ -16,7 +16,11 @@ class GreatPersonPickerScreen : PickerScreen() {
|
|||||||
init {
|
init {
|
||||||
closeButton.isVisible=false
|
closeButton.isVisible=false
|
||||||
rightSideButton.setText("Choose a free great person")
|
rightSideButton.setText("Choose a free great person")
|
||||||
for (unit in GameBasics.Units.values.filter { it.name.startsWith("Great") }) {
|
for (unit in GameBasics.Units.values.filter { it.name.startsWith("Great Scientist")
|
||||||
|
|| it.name.startsWith("Great Artist")
|
||||||
|
|| it.name.startsWith("Great Engineer")
|
||||||
|
|| it.name.startsWith("Great Merchant") })
|
||||||
|
{
|
||||||
val button = Button(skin)
|
val button = Button(skin)
|
||||||
|
|
||||||
button.add(ImageGetter.getUnitIcon(unit.name)).size(30f).pad(10f)
|
button.add(ImageGetter.getUnitIcon(unit.name)).size(30f).pad(10f)
|
||||||
|
Reference in New Issue
Block a user