KeeganW / ti4

TI4 Map Generator - Generate a custom, unique, and balanced Twilight Imperium 4 galaxy map to use in your next game!
https://keeganw.github.io/ti4/
28 stars 23 forks source link

Fixed an issue where red tiles would sometimes erroneously be replaced with planet wormholes #92

Closed nicolajv closed 3 years ago

nicolajv commented 3 years ago

When we try to replace a wormhole we filter out only the anomalies, when we should be filtering all the red tiles. This means that we sometimes end up replacing a red non-anomaly tile with a blue planet tile. This throws off the ratio between blue and red tiles.

KeeganW commented 3 years ago

Yup this makes sense. In the case that the single wormhole is a red tile, we want to exclude ALL red tiles from being replaced, and instead replace a blue tile with a planet wormhole (which is itself, a blue tile). Will deploy this upon next deployment. Thanks for the help!