Can no longer choose Great War Infantry as free gp.

This commit is contained in:
Duan Tao
2018-12-03 22:42:54 +08:00
parent 53bac34b42
commit 6cb965f0ad

View File

@ -16,7 +16,11 @@ class GreatPersonPickerScreen : PickerScreen() {
init {
closeButton.isVisible=false
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)
button.add(ImageGetter.getUnitIcon(unit.name)).size(30f).pad(10f)