Merge pull request #4930 from Hundrec/Lasercar/commit-recovery

<RECOVERY> Restore two of Lasercar's commits
This commit is contained in:
Eric
2025-05-02 14:30:11 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1138,7 +1138,7 @@ class PlayState extends MusicBeatSubState
if (!isMinimalMode)
{
if (iconP1 != null) iconP1.updatePosition();
if (iconP1 != null) iconP2.updatePosition();
if (iconP2 != null) iconP2.updatePosition();
}
// Transition to the game over substate.
@@ -2729,7 +2729,7 @@ class PlayState extends MusicBeatSubState
#end
// 9: Toggle the old icon.
if (FlxG.keys.justPressed.NINE) iconP1.toggleOldIcon();
if (FlxG.keys.justPressed.NINE && iconP1 != null) iconP1.toggleOldIcon();
#if FEATURE_DEBUG_FUNCTIONS
// PAGEUP: Skip forward two sections.
+1 -1
View File
@@ -35,7 +35,7 @@ class FreeplayScore extends FlxTypedSpriteGroup<ScoreNum>
loopNum--;
}
while (loopNum > 0)
while (loopNum >= 0)
{
group.members[loopNum].digit = 0;
loopNum--;