From 88acfe5e5b95e8f11920dde7ad0d38570afabc3c Mon Sep 17 00:00:00 2001 From: Valerio Date: Fri, 26 Dec 2025 01:23:27 -0500 Subject: [PATCH] Changed gen3 leaderboard logic to not need any new textures --- libs/file_navigator.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/file_navigator.py b/libs/file_navigator.py index 6e9e5fa..0cedef4 100644 --- a/libs/file_navigator.py +++ b/libs/file_navigator.py @@ -864,10 +864,11 @@ class ScoreHistory: tex.draw_texture('leaderboard', 'shinuchi_ura', index=self.long) else: tex.draw_texture('leaderboard', 'shinuchi', index=self.long) + tex.draw_texture('leaderboard', 'pts', color=ray.WHITE, index=self.long) case ScoreMethod.GEN3: tex.draw_texture('leaderboard', 'normal', index=self.long) + tex.draw_texture('leaderboard', 'pts', color=ray.BLACK, index=self.long) - tex.draw_texture('leaderboard', 'pts', color=ray.WHITE, index=self.long) tex.draw_texture('leaderboard', 'difficulty', frame=self.curr_difficulty, index=self.long) for i in range(4): @@ -891,7 +892,7 @@ class ScoreHistory: case ScoreMethod.SHINUCHI: tex.draw_texture('leaderboard', 'counter', frame=int(counter[i]), x=-((len(counter) * tex.skin_config["score_info_counter_margin"].width) // 2) + (i * tex.skin_config["score_info_counter_margin"].width), color=ray.WHITE, index=self.long) case ScoreMethod.GEN3: - tex.draw_texture('leaderboard', 'counter_gen3', frame=int(counter[i]), x=-((len(counter) * tex.skin_config["score_info_counter_margin"].width) // 2) + (i * tex.skin_config["score_info_counter_margin"].width), color=ray.WHITE, index=self.long) + tex.draw_texture('leaderboard', 'counter', frame=int(counter[i]), x=-((len(counter) * tex.skin_config["score_info_counter_margin"].width) // 2) + (i * tex.skin_config["score_info_counter_margin"].width), color=ray.BLACK, index=self.long) else: tex.draw_texture('leaderboard', 'judge_num', frame=int(counter[i]), x=-(len(counter) - i) * margin, y=j*tex.skin_config["score_info_bg_offset"].y)