From f8aa9d04594ee9d2132b0cd3101f8919d8e5430c Mon Sep 17 00:00:00 2001 From: Iggy Date: Sat, 17 Aug 2024 13:25:05 -0300 Subject: [PATCH] Change call order for reset_debug_scores function --- game/storyline.rpy | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/game/storyline.rpy b/game/storyline.rpy index c3bdede..8caf4aa 100644 --- a/game/storyline.rpy +++ b/game/storyline.rpy @@ -50,6 +50,7 @@ init python: if is_end_of_chapters(): ending_route_number = get_ending() + reset_debug_scores() next_ending_chapter() # return @@ -73,8 +74,6 @@ init python: # the ending_routes dictionary current_ending_list: list[str] = ending_routes[ending_route_number] - reset_debug_scores() - if ending_chapter_index < len(current_ending_list): # Stores the label name from the current_ending_list array in the item variable current_ending_chapter = current_ending_list[ending_chapter_index] @@ -91,10 +90,6 @@ init python: def reset_debug_scores(): - global current_general_chapter - - current_general_chapter = None - if config.developer and persistent.enable_debug_scores: debug_story_variables(False) debug_story_variables(True, True)