Skip to content

Commit

Permalink
null checking to fix ghost tap disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowMario committed Dec 22, 2023
1 parent 9d7ca18 commit a6b3e72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/options/NotesSubState.hx
Expand Up @@ -166,7 +166,7 @@ class NotesSubState extends MusicBeatSubstate

function updateTip()
{
tipTxt.text = 'Hold ' + (!controls.controllerMode ? 'Shift' : 'Left Shoulder Button') + ' + Press RELOAD to fully reset the selected Note.';
tipTxt.text = 'Hold ' + (!controls.controllerMode ? 'Shift' : 'Left Shoulder Button') + ' + Press RESET key to fully reset the selected Note.';
}

var _storedColor:FlxColor;
Expand Down
2 changes: 1 addition & 1 deletion source/states/PlayState.hx
Expand Up @@ -2850,7 +2850,7 @@ class PlayState extends MusicBeatState
var char:Character = boyfriend;
if((note != null && note.gfNote) || (SONG.notes[curSection] != null && SONG.notes[curSection].gfSection)) char = gf;

if(char != null && !note.noMissAnimation && char.hasMissAnimations)
if(char != null && (note == null || !note.noMissAnimation) && char.hasMissAnimations)
{
var suffix:String = '';
if(note != null) suffix = note.animSuffix;
Expand Down

0 comments on commit a6b3e72

Please sign in to comment.