Merge pull request #4930 from Hundrec/Lasercar/commit-recovery
<RECOVERY> Restore two of Lasercar's commits
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -35,7 +35,7 @@ class FreeplayScore extends FlxTypedSpriteGroup<ScoreNum>
|
||||
loopNum--;
|
||||
}
|
||||
|
||||
while (loopNum > 0)
|
||||
while (loopNum >= 0)
|
||||
{
|
||||
group.members[loopNum].digit = 0;
|
||||
loopNum--;
|
||||
|
||||
Reference in New Issue
Block a user