IGameArt
Member
I have a hefty project, around 550k lines of code. I'm experimenting with porting the code over to 2.3 in the hopes of taking advantage of some of the new features, such as sequences. However arrays have been completely rewritten, and now for some reason array_length is returning incorrect values.
Running a trace on the size taken from a locally declared array returns zero for some reason, and I'm not entirely sure what's going on. My first assumption was another instance of the garbage collection bug, but I have gc_enabled set to false.
Has anyone else come across issues like this?
GML:
var PrefsList = ["OPTION_MUSIC","OPTION_SFX","OPTION_VOICES","OPTION_FULLSCREEN","OPTION_SUBTITLES","OPTION_LANGUAGE"];
var size = array_length(PrefsList);
trace("Preferences size:",size);
Has anyone else come across issues like this?