Skip to content

Commit

Permalink
shit wrong branch
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesisfeline committed Feb 21, 2024
1 parent c436352 commit 929a0e6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions source/backend/MusicBeatState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ class MusicBeatState extends FlxUIState

if (curStep % 4 == 0)
beatHit();

psychlua.ScriptHandler.setOnScripts('curStep', curStep);
psychlua.ScriptHandler.callOnScripts('onStepHit');
}

public var stages:Array<BaseStage> = [];
Expand All @@ -240,9 +237,6 @@ class MusicBeatState extends FlxUIState
stage.curDecBeat = curDecBeat;
stage.beatHit();
});

psychlua.ScriptHandler.setOnScripts('curBeat', curBeat);
psychlua.ScriptHandler.callOnScripts('onBeatHit');
}

public function sectionHit():Void
Expand All @@ -252,9 +246,6 @@ class MusicBeatState extends FlxUIState
stage.curSection = curSection;
stage.sectionHit();
});

psychlua.ScriptHandler.setOnScripts('curSection', curSection);
psychlua.ScriptHandler.callOnScripts('onSectionHit');
}

function stagesFunc(func:BaseStage->Void)
Expand Down

0 comments on commit 929a0e6

Please sign in to comment.