MidflightDigital / XX--STARLiGHT--twopointzero

Repository for the XX -STARLiGHT- twopointzero theme for Project Outfox and StepMania 5.1-git
GNU General Public License v3.0
64 stars 10 forks source link

Add PlayerNumber argument into call for NoteSkin #20

Closed JoseVarelaP closed 2 years ago

JoseVarelaP commented 2 years ago

With the release of OutFox Alpha 4.14.1HF, a new argument was added to LoadActorForNoteskin that allows assigning of the Player to the noteskin loader, which can be useful for noteskins that require this setting, as the default value is Player_Invalid, and that can crash some noteskins if not taken care from there (The Starlight noteskins actually perform this kind of thing as well, use Player for the receptors, but no checking if the player is not valid).

This basically fixes that by using the argument to always give the Master PlayerNumber so it has some player to generate from.