From 60b571f15d62f370b6a70c363350d8f23b21e5f8 Mon Sep 17 00:00:00 2001 From: jnack <55568980+jnackmclain@users.noreply.github.com> Date: Sat, 9 Nov 2024 22:54:06 -0600 Subject: [PATCH] fix 50 note streak #917 --- _ark/dx/track/track_ui/dx_track_streak_funcs.dta | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_ark/dx/track/track_ui/dx_track_streak_funcs.dta b/_ark/dx/track/track_ui/dx_track_streak_funcs.dta index 8f81d36f6..86f43508a 100644 --- a/_ark/dx/track/track_ui/dx_track_streak_funcs.dta +++ b/_ark/dx/track/track_ui/dx_track_streak_funcs.dta @@ -63,7 +63,7 @@ ;gh style note streak text popups above the track {func dx_note_streak_popup - ($instrument $num_gems_combo) + ($instrument) {set $dx_bpm {* {* 60 {/ 1 {- {beat_to_seconds {+ {int {+ 0.5 {seconds_to_beat {/ {beatmatch get_song_ms} 1000}}}} 1}} {beat_to_seconds {int {+ 0.5 {seconds_to_beat {/ {beatmatch get_song_ms} 1000}}}}}}}} $speedmod}} ;grab current bpm same way the bpm counter does but not dependent on it {set $dx_streak_timer 4} ;fallback if somehow the cond fails to set something {cond @@ -105,14 +105,14 @@ ($enabled $instrument $num_gems_combo) {if {&& $enabled {! {gamemode in_mode trainer}}} {if {== {mod $num_gems_combo {dx_adjust_streak_popup_interval $instrument $num_gems_combo}} 0} - {dx_note_streak_popup $instrument $num_gems_combo} + {dx_note_streak_popup $instrument} } } } {func dx_adjust_streak_popup_interval ($instrument $num_gems_combo) - {set $interval {if_else {>= $num_gems_combo 50} 100 50}} ;adjust interval higher or lower based on combo + {set $interval {if_else {> $num_gems_combo 50} 100 50}} ;adjust interval higher or lower based on combo {switch $instrument ;specify interval to the specific instrument (guitar {set $dx_streak_interval_guitar $interval}) (bass {set $dx_streak_interval_bass $interval})