From 910d754dee3c5572e855fe980f02f12edf43b477 Mon Sep 17 00:00:00 2001 From: Joalor64 Date: Fri, 12 Apr 2024 10:56:21 -0400 Subject: [PATCH] fix again huh --- source/BeatState.hx | 5 +---- source/Character.hx | 12 ------------ 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/source/BeatState.hx b/source/BeatState.hx index c4bb88d..6042929 100644 --- a/source/BeatState.hx +++ b/source/BeatState.hx @@ -4,9 +4,6 @@ import Conductor.BPMChangeEvent; class BeatState extends FlxState { - private var lastBeat:Float = 0; - private var lastStep:Float = 0; - private var curStep:Int = 0; private var curBeat:Int = 0; @@ -39,7 +36,7 @@ class BeatState extends FlxState stepTime: 0, songTime: 0, bpm: 0 - } + }; for (i in 0...Conductor.bpmChangeMap.length) if (Conductor.songPosition >= Conductor.bpmChangeMap[i].songTime) diff --git a/source/Character.hx b/source/Character.hx index 7b4ef68..ae9b11f 100644 --- a/source/Character.hx +++ b/source/Character.hx @@ -55,18 +55,6 @@ class Character extends FlxSprite flipX = true; } - - if (isPlayer) - { - flipX = !flipX; - - if (!curCharacter.startsWith('player')) - { - var oldRight = animation.getByName('singRIGHT').frames; - animation.getByName('singRIGHT').frames = animation.getByName('singLEFT').frames; - animation.getByName('singLEFT').frames = oldRight; - } - } } override function update(elapsed:Float)