Skip to content

Commit

Permalink
fix again huh
Browse files Browse the repository at this point in the history
  • Loading branch information
Joalor64GH authored Apr 12, 2024
1 parent 175b72f commit 910d754
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
5 changes: 1 addition & 4 deletions source/BeatState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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)
Expand Down
12 changes: 0 additions & 12 deletions source/Character.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 910d754

Please # to comment.