From 1afc5f389e49026e3d160749cfb9e33434c3a00e Mon Sep 17 00:00:00 2001 From: Anthony Samms Date: Fri, 28 Nov 2025 17:48:33 -0500 Subject: [PATCH] Update tja.py --- libs/tja.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libs/tja.py b/libs/tja.py index ca38644..a1ea3a8 100644 --- a/libs/tja.py +++ b/libs/tja.py @@ -1178,16 +1178,10 @@ class TJAParser: interp_x = judge_pos_x + (delta_x * t) interp_y = judge_pos_y + (delta_y * t) jpos_timeline = TimelineObject() - pixels_per_frame_x = get_pixels_per_frame(bpm * time_signature * x_scroll_modifier, time_signature*4, self.distance) - pixels_per_ms = get_pixels_per_ms(pixels_per_frame_x) jpos_timeline.hit_ms = interpolated_ms - if pixels_per_ms == 0: - jpos_timeline.load_ms = jpos_timeline.hit_ms - else: - jpos_timeline.load_ms = jpos_timeline.hit_ms - (self.distance / pixels_per_ms) jpos_timeline.judge_pos_x = interp_x jpos_timeline.judge_pos_y = interp_y - bisect.insort(curr_timeline, jpos_timeline, key=lambda x: x.load_ms) + bisect.insort(curr_timeline, jpos_timeline, key=lambda x: x.hit_ms) judge_pos_x = judge_target_x judge_pos_y = judge_target_y continue