I've been experimenting alot with functions and arrays lately and have encountered a problem that i can't really grasp the logic of.
A reconstruction of the problem:
(Run it in debug mode and select the array to see the problem)
The problem seems to arise when I try to store something in an array at the the exact same time as I store something else (or that is what I assume I am doing). This results in only one of the values being stored.
In my eyes it has to be some kind of bug, but undoubtedly it's surely my inexperience that blinds me from the real problem once again .
Thankfull for any kind of comments!