Bram-Hub / LEGUP

Logic Engine for Grid-Using Puzzles - a better way to learn formal logic
GNU General Public License v3.0
33 stars 82 forks source link

[BUG] TreeTent linked cells bug #700

Open charlestian23 opened 10 months ago

charlestian23 commented 10 months ago

Description

When solving a TreeTent puzzle, if you link a tree and a tent together, then attempt to change the tent cell to a grass cell, you are able to make it so that a grass cell is linked to a tree cell.

Steps to Reproduce

  1. Open a Tree Tent puzzle in the puzzle editor.
  2. Put a tent next to a tree: image
  3. Link the tree cell and the tent cell: image
  4. Change the tent cell to an empty cell or a grass cell: image image

Expected Behavior

The line should go away if you attempt to change the tent cell to something else.

Screenshots

No response

Puzzle Files

No response

Additional Context

No response