mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-28 18:02:46 +00:00
few comments so I dont forget why my brain busted
This commit is contained in:
parent
1b61a535d4
commit
d8b6be43ed
|
@ -160,7 +160,7 @@ class SongLoad
|
|||
|
||||
trace(arrayDipshit);
|
||||
|
||||
if (arrayDipshit != null)
|
||||
if (arrayDipshit != null) // array isnt null, that means it loaded it as an array and needs to be manually parsed?
|
||||
{
|
||||
// at this point noteStuff[sectionIndex].sectionNotes[noteIndex] is an array because of the cast from the first line in this function
|
||||
// so this line right here turns it back into the NoteData typedef type because of another bastard cast
|
||||
|
@ -173,6 +173,9 @@ class SongLoad
|
|||
}
|
||||
else if (noteDataArray != null)
|
||||
{
|
||||
// array is NULL, so it checks if noteDataArray (doesnt exactly NEED to be an 'array' is also null or not.)
|
||||
// At this point it should be an OBJECT that can be easily casted!!!
|
||||
|
||||
noteStuff[sectionIndex].sectionNotes[noteIndex] = cast noteDataArray;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue