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)