kflorence / beaming

Beaming is a free, open source puzzle game that involves directing beams through a hexagonal grid.
https://kflorence.github.io/beaming/
Other
1 stars 0 forks source link

Fix move actions not locking to tiles. Fixes #28 #29

Closed kflorence closed 1 month ago

kflorence commented 1 month ago

There were two problems here. The currently selected tile was changing before the modifier was invoked and it was referencing the wrong tile. This is a problem for move actions because the a new tile is selected during modification (the 'to' tile).