Fixed game win bug for discovering city, v1.3.1

This commit is contained in:
Nicola Sovic
2022-07-07 12:03:13 +02:00
parent 1dad0e5751
commit ae85d02ea2
3 changed files with 37 additions and 31 deletions

View File

@@ -101,6 +101,7 @@ public class WorldGenerator : MonoBehaviour
name = city.name;
cityAmount--;
SteamWorksHandler.getStandardAchievement("CityAchievement");
}
else
{
@@ -108,7 +109,6 @@ public class WorldGenerator : MonoBehaviour
name = tile.name;
noise.applyNoise(newTile);
}
}
else
{
@@ -116,7 +116,6 @@ public class WorldGenerator : MonoBehaviour
name = tile.name;
noise.applyNoise(newTile);
}
if (name.Contains("_"))
{
name = name.Split('_')[0];