So I'm having a weird thing happening. in the following code block.
a little explanation about what this does.
MapCreate runs after I filled LevelArray with 50 random numbers.
So as soon as it has created 50 map Icons it should be finished. after which I call location which sets the text to where the player is.
now this event calls without a problem. but the event after. The for each MapIcon doesn't. but only doesn't the first time I call the function. if I call it after it works fine.
any idea why this isn't working as intended?