fixed psych events trying to be added as normal notes
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
1277
|
||||
1279
|
||||
@@ -27,6 +27,11 @@ class Note extends FlxSprite
|
||||
public var tooLate:Bool = false;
|
||||
public var wasGoodHit:Bool = false;
|
||||
|
||||
/**
|
||||
* Whenever that note should be avoided by Botplay.
|
||||
*/
|
||||
public var avoid:Bool = false;
|
||||
|
||||
/**
|
||||
* The note that comes before this one (sustain and not)
|
||||
*/
|
||||
|
||||
@@ -554,6 +554,8 @@ class PlayState extends MusicBeatState
|
||||
if (songNotes == null) continue;
|
||||
var daStrumTime:Float = songNotes[0];
|
||||
var daNoteData:Int = Std.int(songNotes[1] % 8);
|
||||
|
||||
if (daNoteData < 0) continue;
|
||||
var daNoteType:Int = Std.int(songNotes[1] / 8);
|
||||
var gottaHitNote:Bool = daNoteData >= 4 ? !section.mustHitSection : section.mustHitSection;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user