From 5f742d45252f43510dae18b710804fa5dee5e43e Mon Sep 17 00:00:00 2001 From: Gouvernathor <44340603+Gouvernathor@users.noreply.github.com> Date: Sat, 6 Apr 2024 00:42:27 +0200 Subject: [PATCH] Simplify following turning states.dolls into a dict --- game/scripts/wardrobe/functions.rpy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/scripts/wardrobe/functions.rpy b/game/scripts/wardrobe/functions.rpy index ea972f46..727dc90e 100644 --- a/game/scripts/wardrobe/functions.rpy +++ b/game/scripts/wardrobe/functions.rpy @@ -23,7 +23,7 @@ init -1 python: def get_character_object(key): __check_exists(key) - return getattr(store, key) + return states.dolls[key] def get_character_outfit(key, typ="default"): __check_exists(key)