Facism -> Fascism policy name change in existing save files

This commit is contained in:
Yair Morgenstern 2019-12-08 18:44:04 +02:00
parent cdcd7cf116
commit 9725c0f66c
2 changed files with 13 additions and 8 deletions

View File

@ -224,6 +224,12 @@ class GameInfo {
// which in turn leads to us trying to get info on all the building in all the cities...
// which can fail if there's an "unregistered" building anywhere
for (civInfo in civilizations) {
// As of 3.5.
if(civInfo.policies.adoptedPolicies.contains("Facism")){
civInfo.policies.adoptedPolicies.remove("Facism")
civInfo.policies.adoptedPolicies.add("Fascism")
}
for (cityInfo in civInfo.cities) {
val cityConstructions = cityInfo.cityConstructions

View File

@ -29,8 +29,7 @@ open class CameraStageBaseScreen : Screen {
if (Gdx.graphics.width >= 750 && Gdx.graphics.height.toFloat() >= 500) {
width = Gdx.graphics.width.toFloat()
height = Gdx.graphics.height.toFloat()
}
else{
} else {
width = 750f
height = 500f
}