Fixed game win bug for discovering city, v1.3.1
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user