mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 14:24:43 -04:00
Resolved #2951 - only ancient ruins improvements are removed around players' starting locations, and not other improvements
This commit is contained in:
parent
c17de11c35
commit
8dd8fa3575
@ -143,6 +143,7 @@ object GameStarter {
|
|||||||
for (civ in gameInfo.civilizations.filter { !it.isBarbarian() && !it.isSpectator() }) {
|
for (civ in gameInfo.civilizations.filter { !it.isBarbarian() && !it.isSpectator() }) {
|
||||||
val startingLocation = startingLocations[civ]!!
|
val startingLocation = startingLocations[civ]!!
|
||||||
for (tile in startingLocation.getTilesInDistance(3))
|
for (tile in startingLocation.getTilesInDistance(3))
|
||||||
|
if (tile.improvement == Constants.ancientRuins)
|
||||||
tile.improvement = null // Remove ancient ruins in immediate vicinity
|
tile.improvement = null // Remove ancient ruins in immediate vicinity
|
||||||
|
|
||||||
fun placeNearStartingPosition(unitName: String) {
|
fun placeNearStartingPosition(unitName: String) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user