mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-26 17:46:08 -05:00
Fix a crash issue caused when pressing a key after leaving the input offsets state.
This commit is contained in:
parent
e0721b901e
commit
c3ba4081f1
1 changed files with 0 additions and 18 deletions
|
@ -96,24 +96,6 @@ class LatencyState extends MusicBeatSubState
|
|||
|
||||
localConductor.forceBPM(60);
|
||||
|
||||
FlxG.stage.addEventListener(KeyboardEvent.KEY_DOWN, key -> {
|
||||
trace(key.charCode);
|
||||
|
||||
// if (key.charCode == 120) generateBeatStuff();
|
||||
|
||||
trace("\tEVENT PRESS: \t" + FlxG.sound.music.time + " " + Timer.stamp());
|
||||
// trace(FlxG.sound.music.prevTimestamp);
|
||||
trace(FlxG.sound.music.time);
|
||||
trace("\tFR FR PRESS: \t" + swagSong.getTimeWithDiff());
|
||||
|
||||
// trace("\tREDDIT: \t" + swagSong.frfrTime + " " + Timer.stamp());
|
||||
@:privateAccess
|
||||
trace("\tREDDIT: \t" + FlxG.sound.music._channel.position + " " + Timer.stamp());
|
||||
// trace("EVENT LISTENER: " + key);
|
||||
});
|
||||
|
||||
// funnyStatsGraph.hi
|
||||
|
||||
Conductor.instance.forceBPM(60);
|
||||
|
||||
diffGrp = new FlxTypedGroup<FlxText>();
|
||||
|
|
Loading…
Reference in a new issue