From a787d1ceaf84a6531299b8991fb0ed486dc532d7 Mon Sep 17 00:00:00 2001 From: Iggy Date: Fri, 30 Aug 2024 17:33:26 -0300 Subject: [PATCH] Remove unused globals --- game/src/chapter_select.rpy | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/game/src/chapter_select.rpy b/game/src/chapter_select.rpy index 1a2ace2..ad7c639 100644 --- a/game/src/chapter_select.rpy +++ b/game/src/chapter_select.rpy @@ -24,7 +24,7 @@ define tuples_index = [ init python: def select_chapter(): - global current_chapter, is_end_reached, quick_menu + global current_chapter, quick_menu selected_tuple = () @@ -41,7 +41,7 @@ init python: set_stats() toggle_debug() - quick_menu = True + quick_menu = True # Restores the bottom quick menu UI renpy.call(current_chapter) @@ -51,7 +51,7 @@ init python: def set_stats(): - global chapter_list_length, ending_route_number, is_end_reached + global ending_route_number, is_end_reached ending_route_number = get_ending() @@ -89,7 +89,7 @@ label reset_chapter_list: label chapter_select: - $ quick_menu = False + $ quick_menu = False # Hides bottom quick menu UI $ anon_points = 0 $ fang_points = 0 @@ -126,5 +126,4 @@ label chapter_select: $ select_chapter() -