Oh yeah. First time I use a library, so I totally forgot that in Zones.bb it is a function. I treated it as a normal array.
I changed the names in the LoadZones function to ZoneProperty1(z), ZoneProperty2(z) etc. and now the values are loaded without problem.
But since it seems saving ZoneProperty(z,x) worked well, I will leave that one as it is.
Thx for your help!
I changed the names in the LoadZones function to ZoneProperty1(z), ZoneProperty2(z) etc. and now the values are loaded without problem.
But since it seems saving ZoneProperty(z,x) worked well, I will leave that one as it is.
Thx for your help!