From 314f60c8a51cbb19d52a46ec2268b5b56fb82bb8 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Wed, 3 Jun 2026 22:10:31 +0000 Subject: [PATCH] Ignore deco parts when force deco is enabled for Unilab. --- bemani/backend/popn/common.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bemani/backend/popn/common.py b/bemani/backend/popn/common.py index 6d7a6b6..a34d123 100644 --- a/bemani/backend/popn/common.py +++ b/bemani/backend/popn/common.py @@ -1075,6 +1075,9 @@ class PopnMusicModernBase(PopnMusicBase, ABC): if game_config.get_bool("force_unlock_songs") and itemtype == 0: # We already sent song unlocks in the force unlock section above. continue + if game_config.get_bool("force_unlock_deco") and itemtype == 7: + # We already sent deco part unlocks in the force unlock section. + continue item = Node.void("item") root.add_child(item) @@ -1331,6 +1334,9 @@ class PopnMusicModernBase(PopnMusicBase, ABC): if game_config.get_bool("force_unlock_songs") and itemtype == 0: # If we enabled force song unlocks, don't save songs to the profile. continue + if game_config.get_bool("force_unlock_deco") and itemtype == 7: + # If we enabled force deco parts unlock, don't save deco parts. + continue self.data.local.user.put_achievement( self.game,