diff --git a/source/funkin/ui/options/OffsetMenu.hx b/source/funkin/ui/options/OffsetMenu.hx index 908b76442..dd3251cad 100644 --- a/source/funkin/ui/options/OffsetMenu.hx +++ b/source/funkin/ui/options/OffsetMenu.hx @@ -294,6 +294,9 @@ class OffsetMenu extends Page createButtonItem('Offset Calibration', function() { // Reset calibration state and start another one. + @:privateAccess + if (OptionsState.instance.optionsCodex.currentPage != this) return; + jumpInText.text = 'Press any key to the beat!\nThe arrow will start to sync to the receptor.'; #if mobile jumpInText.text = 'Tap to the beat!\nThe arrow will start to sync to the receptor.'; @@ -327,6 +330,9 @@ class OffsetMenu extends Page // Reset testing state and start another one. // We do not reset the offset here, so the player can test their current offset. + @:privateAccess + if (OptionsState.instance.optionsCodex.currentPage != this) return; + shouldOffset = 1; testStrumline.clean(); testStrumline.noteData = [];