From 962cc2f6951edd9d4390955f0037b4fafbb6ebd8 Mon Sep 17 00:00:00 2001 From: LoafyLemon Date: Tue, 18 Jul 2023 16:30:15 +0100 Subject: [PATCH] Bug fixes * Fixed outfit deletion tab not updating the list of items * Fixed Tonks' public requests menu crashing due to an omitted result type * Removed manual image rebuilding in wardrobe (superseded) --- game/scripts/characters/tonks/summon.rpy | 2 +- game/scripts/wardrobe/wardrobe.rpy | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/game/scripts/characters/tonks/summon.rpy b/game/scripts/characters/tonks/summon.rpy index 3148891f..1f5eb33f 100644 --- a/game/scripts/characters/tonks/summon.rpy +++ b/game/scripts/characters/tonks/summon.rpy @@ -126,7 +126,7 @@ label tonks_favor_menu: $ result = show_events_menu(tonks_requests) - if result == "disabled": + if result in ("disabled", "noncompliant"): "You haven't unlocked this request opportunity yet." jump .requests elif result == "exit": diff --git a/game/scripts/wardrobe/wardrobe.rpy b/game/scripts/wardrobe/wardrobe.rpy index 477517d9..728044dc 100644 --- a/game/scripts/wardrobe/wardrobe.rpy +++ b/game/scripts/wardrobe/wardrobe.rpy @@ -446,6 +446,7 @@ label wardrobe_menu(): if _confirmed: _choice[1].delete() + category_items = set_wardrobe_categories(current_category) renpy.notify("Outfit Deleted.") elif _choice[0] == "export": @@ -595,14 +596,10 @@ label wardrobe_menu(): renpy.music.play(last_track) DollThread.stop_all() - # set_wardrobe_categories.cache_clear() - char_active.build_image() enable_game_menu() renpy.return_statement() - $ char_active.build_image() - jump .after_init screen wardrobe_menu(xx, yy):