fixed bullshit

This commit is contained in:
Cameron Taylor
2020-10-06 18:56:14 -07:00
parent 567a7af392
commit 320a760d82
3 changed files with 85 additions and 3 deletions

View File

@ -19,10 +19,13 @@ class Note extends FlxSprite
public static var swagWidth:Float = 160 * 0.7;
public function new(strumTime:Float, noteData:Int, prevNote:Note)
public function new(strumTime:Float, noteData:Int, ?prevNote:Note)
{
super();
if (prevNote == null)
prevNote = this;
this.prevNote = prevNote;
x += 50;