chore: fix multiple warnings.

This commit is contained in:
MAJigsaw77
2025-06-26 04:00:57 -04:00
committed by Eric
parent ab89cd33f9
commit 5be5abf4c9
3 changed files with 6 additions and 5 deletions
+1 -2
View File
@@ -484,8 +484,7 @@ class Controls extends FlxActionSet
static function init():Void
{
var actions = new FlxActionManager();
FlxG.inputs.add(actions);
FlxG.inputs.addUniqueType(new FlxActionManager());
}
/**
@@ -137,7 +137,9 @@ class StageEditorObjectGraphicToolbox extends StageEditorDefaultToolbox
// Set the names of the frames.
for (i in 0...linkedObj.frames.frames.length)
{
linkedObj.frames.framesHash.set('Frame$i', linkedObj.frames.frames[i]);
@:privateAccess
linkedObj.frames.framesByName.set('Frame$i', linkedObj.frames.frames[i]);
linkedObj.frames.frames[i].name = 'Frame$i';
}
@@ -146,7 +148,7 @@ class StageEditorObjectGraphicToolbox extends StageEditorDefaultToolbox
stageEditorState.updateDialog(OBJECT_ANIMS);
}
this.onDialogClosed = onClose;
}
+1 -1
View File
@@ -1329,7 +1329,7 @@ class FreeplayState extends MusicBeatSubState
fadeShader.fade(1.0, 0.0, 0.8, {ease: FlxEase.quadIn});
FlxG.sound.music?.fadeOut(0.9, 0);
new FlxTimer().start(0.9, _ -> {
FlxG.switchState(new funkin.ui.charSelect.CharSelectSubState({character: currentCharacterId} // Passing the currrent Freeplay character to the CharSelect so we can start it with that character selected
FlxG.switchState(() -> new funkin.ui.charSelect.CharSelectSubState({character: currentCharacterId} // Passing the currrent Freeplay character to the CharSelect so we can start it with that character selected
));
});
for (grpSpr in exitMoversCharSel.keys())