Set Members In Struct node does not work

Still have issue it seems.

I have my struct {
x=0,
y=0,
visited=false
}

i have an array of this struct filled with incrementing x and y: storing a grid in a 1 dim array.

Form start, i get@0 and store it in a local variable called currentCell, then i change its visited value to true using “Set Members in …”.
In debugger it seems to be ok but then, i pass it (by reference) to a function and on first step of funciton i see visited value back to false. from then even if i try to force visited to true by using “Set Members in …” value stays to false as if it’s read only.

Very frustrating.