From 90e57fd6af9e04dce6ac117ab9f5f4af135e4e44 Mon Sep 17 00:00:00 2001 From: LoafyLemon Date: Fri, 23 Dec 2022 19:48:00 +0000 Subject: [PATCH] Hotfix * Fixed a crash caused by zlayers --- game/scripts/options.rpy | 2 +- game/scripts/utility/updater.rpy | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/game/scripts/options.rpy b/game/scripts/options.rpy index 638f8834..34581ec1 100644 --- a/game/scripts/options.rpy +++ b/game/scripts/options.rpy @@ -30,7 +30,7 @@ define config.developer = "auto" define config.console = True # Game version and naming -define config.version = "1.44.2" +define config.version = "1.44.3" define compatible_version = 1.43 define config.name = "Witch Trainer Silver" diff --git a/game/scripts/utility/updater.rpy b/game/scripts/utility/updater.rpy index 74f3dbf8..6ab9630b 100644 --- a/game/scripts/utility/updater.rpy +++ b/game/scripts/utility/updater.rpy @@ -124,6 +124,21 @@ init python: char.rebuild() if current <= 1.441: + pass + + if current <= 1.442: + for i in CHARACTERS: + char = get_character_object(i) + + for j in char.wardrobe_list: + j.zlayers = [] + + for j in char.outfits: + for k in j.group: + k.zlayers = [] + + char.rebuild() + fix_return_stack() if current > latest: