Hello, I use table.copy to copy a table and get 2 independent tables. With list tables it works :
t1={1}
t2={1}
t1=table.copy(t2)
t1[1]=0
print(t2[1]) – =>1 OK
But with 2 dimensionnal or more tables it doesn’t work :
t1={{1}}
t2={{1}}
t1=table.copy(t2)
t1[1][1]=0
print(t2[1][1]) --=>0 WHY?
Anyone know how I could copy complex tables? Thanxx