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

Beams going through reflectors in puzzle 6 #22

Closed kflorence closed 3 months ago

kflorence commented 6 months ago

Example: https://kflorence.github.io/beaming/#/006/eJzNVsFugzAM_ReffUho4cBxt12n3gBNrHhTpBQqCFKrin9fCC2FAQM6JnohOHES-71nKxcQEbjAmAMIEUkVZuB6cPFBhuckVz64-l8JSVn1y6vBqgah6HBdYNWQHCkW8Vc56Xna3icySbXhw4fMyQfUp52PZGZeKDz4UGCcS4kt35Qi45rE2lRpToPb6k-ADFlw9_N82FF6EHGemaPe6FPSXpUXlF4iKn04Q-6UZpqoUAlznWcFhZ55V-ayUN_0w8Q6fT6EQuu4bmCNWLAZZiMwB7nZtB6e4yg0Fwutn2HVWC10unjNgmb7lNAMamGuHrfr5mbUuiD1bIT63lK5ooGbWUhXuzbIH6jo5RKao-UN2h2223z0EzqB-1onv5E_ocj5SLrrxf5Iw7f7JfX_WpgSGl9XCzc8RytnQqub0MYr6feW_zPXw3LiuDe5Xhz-XJnLtcPg9jZ8jSM6gWsjZFTyS9FO56sfkBwZFN82Ik6L

kflorence commented 3 months ago

This was caused by multiple items having the same ID which was causing the uniqueBy function to filter out the Reflector which shared an ID with a beam.

kflorence commented 3 months ago

Fixed by https://github.com/kflorence/beaming/commit/5d597e31be135f96d7637063ca2f0b7d1e94c2ea