Skip to content

Commit d9fcaf0

Browse files
HundrecLasercar
andcommitted
Restore Lasercar's changes
Dropped them somewhere whoopsie Co-Authored-By: Lasercar <64717068+Lasercar@users.noreply.github.com>
1 parent 56259b9 commit d9fcaf0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

source/funkin/play/PlayState.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ class PlayState extends MusicBeatSubState
11381138
if (!isMinimalMode)
11391139
{
11401140
if (iconP1 != null) iconP1.updatePosition();
1141-
if (iconP1 != null) iconP2.updatePosition();
1141+
if (iconP2 != null) iconP2.updatePosition();
11421142
}
11431143

11441144
// Transition to the game over substate.
@@ -2729,7 +2729,7 @@ class PlayState extends MusicBeatSubState
27292729
#end
27302730

27312731
// 9: Toggle the old icon.
2732-
if (FlxG.keys.justPressed.NINE) iconP1.toggleOldIcon();
2732+
if (FlxG.keys.justPressed.NINE && iconP1 != null) iconP1.toggleOldIcon();
27332733

27342734
#if FEATURE_DEBUG_FUNCTIONS
27352735
// PAGEUP: Skip forward two sections.

source/funkin/ui/freeplay/FreeplayScore.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class FreeplayScore extends FlxTypedSpriteGroup<ScoreNum>
3535
loopNum--;
3636
}
3737

38-
while (loopNum > 0)
38+
while (loopNum >= 0)
3939
{
4040
group.members[loopNum].digit = 0;
4141
loopNum--;

0 commit comments

Comments
 (0)