mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-06-23 16:10:10 -05:00
Ignore deco parts when force deco is enabled for Unilab.
This commit is contained in:
parent
342f951664
commit
314f60c8a5
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user