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 22 forks source link

Rotating non-hexagon map counter-clockwise causes weird stuff #131

Open jumbocarrot0 opened 1 month ago

jumbocarrot0 commented 1 month ago

This issue comes up for non-standard map shapes, namely 2-player and 3-player maps. The bug causes whatever is on a specific tile in the top-right quadrant to become duplicated on rotation. It's hard to describe, but the images below shows the issue:

(Starting map) Starting map

(Map after one rotating counter-clockwise) Map rotated once counter-clockwise

From limited testing it seems to have to do with a specific tile on the top right:

(Starting map) image (After one rotation) image (After two rotations) image

From what I could gather it only happens with a counter-clockwise rotation, never a clockwise one. I'll dig into this more if I get the time.