I'm trying to generate a dungeon by using drunken walk method described here. Tl;dr for the method described there is: carve out the path from the wall. I tried to use
set_cellv(position, -1) and
set_cellv(position, 1) to do it, but when i do, the autotile does not updating itself. See the image below to see what i mean.
This is the autotile that i get when using
The result i want:
It's the same placeholder autotile i got from godot docs, but when i use
set_cellv() the wall did not appear.