This commit is contained in:
Yoshman29
2023-02-22 03:17:56 +01:00
parent b1349c09b9
commit eddea6a63b
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
2384
2385
+1 -1
View File
@@ -185,7 +185,7 @@ class Note extends FlxSprite
public var strumRelativePos:Bool = true;
override function drawComplex(camera:FlxCamera) {
flipY = flipSustain && ((camera is HudCamera ? cast(camera, HudCamera).downscroll : false) != (__strum != null && __strum.getScrollSpeed(this) < 0));
flipY = (isSustainNote && flipSustain) && ((camera is HudCamera ? cast(camera, HudCamera).downscroll : false) != (__strum != null && __strum.getScrollSpeed(this) < 0));
super.drawComplex(camera);
}
-1
View File
@@ -91,7 +91,6 @@ class Strum extends FlxSprite {
public function updateSustain(daNote:Note) {
if (!daNote.isSustainNote) return;
daNote.flipY = daNote.flipSustain && (PlayState.instance.downscroll != (getScrollSpeed(daNote) < 0));
daNote.updateSustain(this);
}