ModSubState

This commit is contained in:
Yoshman29
2022-12-04 17:08:08 +01:00
parent 37068a1b1c
commit 2d4016a776
12 changed files with 202 additions and 29 deletions
+2 -2
View File
@@ -169,8 +169,8 @@ class Conductor
if (FlxG.state is IBeatReceiver) {
var state = FlxG.state;
while(state != null) {
if (FlxG.state is IBeatReceiver) {
var st = cast(FlxG.state, IBeatReceiver);
if (state is IBeatReceiver && (state.subState == null || state.subState.persistentUpdate)) {
var st = cast(state, IBeatReceiver);
st.stepHit(curStep);
if (updateBeat)
st.beatHit(curBeat);