02-20-2018, 07:15 PM
Quote:By operating on values, I meant exactly changing them.I got that, yes.
Quote:Maybe adding synchronization somewhere would fix this? Though, I'm not sure about static-ness of Camps itself (I mean, Camps.Camps) - it's not declared as static, so if there are multiple instances, 'Camps' array is not shared anyway(?).I don't remember what result I got exactly when I tried to declare camps as static, because it was a time ago, but I remember that it didn't work.
Well, that's how things are working here. I'm honestly glad that TT implemented some basic OOP in CBOT at all.