mirror of
https://github.com/yairm210/Unciv.git
synced 2025-01-22 02:07:43 +07:00
Ballista replaces catapult, not horseman
When an improvement is under construction, you cannot pick to construct that improvement again
This commit is contained in:
parent
deed7e7767
commit
640a3b873e
@ -130,7 +130,7 @@
|
||||
name:"Ballista",
|
||||
unitType:"Siege",
|
||||
uniqueTo:"Rome",
|
||||
replaces:"Horseman",
|
||||
replaces:"Catapult",
|
||||
movement:2,
|
||||
strength:8,
|
||||
rangedStrength:10,
|
||||
|
@ -29,7 +29,10 @@ class ImprovementPickerScreen(tileInfo: TileInfo) : PickerScreen() {
|
||||
val regularImprovements = VerticalGroup()
|
||||
regularImprovements.space(10f)
|
||||
for (improvement in GameBasics.TileImprovements.values) {
|
||||
if (!tileInfo.canBuildImprovement(improvement, civInfo) || improvement.name == tileInfo.improvement) continue
|
||||
if (!tileInfo.canBuildImprovement(improvement, civInfo)) continue
|
||||
if(improvement.name == tileInfo.improvement) continue
|
||||
if(improvement.name==tileInfo.improvementInProgress) continue
|
||||
|
||||
val improvementButton = Button(skin)
|
||||
|
||||
if(improvement.name.startsWith("Remove"))
|
||||
|
Loading…
Reference in New Issue
Block a user