From 929a0e626b26de20e2a5e7f5e9d6777a00834b68 Mon Sep 17 00:00:00 2001 From: CharlesCatYT Date: Tue, 20 Feb 2024 20:40:52 -0500 Subject: [PATCH] shit wrong branch --- source/backend/MusicBeatState.hx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source/backend/MusicBeatState.hx b/source/backend/MusicBeatState.hx index 015024d..4129c76 100644 --- a/source/backend/MusicBeatState.hx +++ b/source/backend/MusicBeatState.hx @@ -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 = []; @@ -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 @@ -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)