Godot Version
Godot 4
Question
I’ll try to not be too confusing. I have a room with 4 walls on their own tilemaps. Each wall has a “detector” outside of it so when you build a room beside it, it will “queue_free()” the wall it’s connected to.
Before running the game if i place rooms down the walls work perfectly and will get rid of the walls so that the rooms connect.
However, when i run the game as the player and i place a new room down, the wall of the room i am placing will go away like its supposed to, but the wall of the old room will not be deleted.
If i place my character outside the walls and run him through the “detectors” they will disappear as intended but for some reason the old rooms are not detecting the new rooms and as a result their walls stay up. (i have also tested with the print function that it is those walls that are being deleted)
been struggling for a week please help!!! lol