From 88a6b8941b92b9ea51fa143d7b15bdf85b0a2b3f Mon Sep 17 00:00:00 2001 From: LoafyLemon Date: Sat, 15 Jul 2023 00:42:17 +0100 Subject: [PATCH] Bug fix * Fixed TypeError in cum layer constructor --- game/scripts/doll/cum.rpy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/scripts/doll/cum.rpy b/game/scripts/doll/cum.rpy index aa987de6..50b9ea5b 100644 --- a/game/scripts/doll/cum.rpy +++ b/game/scripts/doll/cum.rpy @@ -57,6 +57,10 @@ init python: if part in face_layers: zorder = face_layers.get(part) + 1 identifier = active_faces.get(part, "default") + + if not isinstance(identifier, str): + continue + path = posixpath.join(self.char.modpath, "characters", self.char.name, "poses", self.char.pose, subpath, "cum", part, name, identifier) elif part in (clothing_layers | body_layers):