Hello, I’m new to the world of code combat and I’m still learning new stuff and i saw encountered what seems to be a bug.
In the level Brawlwood, whenever I access the properties of coin, the editor throws an error “Cannot read property ‘pos’ of undefined”. However, it plays out the code perfectly and as required. But even during the fight it shows the big X sprite under the soldier.
The screen looks like this-
Also, when i view the contents of the variable items, it shows everything perfectly and not as undefined.
My question is- Why is it throwing such an error? Or am I doing something wrong?