diff --git a/bemani/backend/jubeat/clan.py b/bemani/backend/jubeat/clan.py index 1829990..39b780a 100644 --- a/bemani/backend/jubeat/clan.py +++ b/bemani/backend/jubeat/clan.py @@ -1222,7 +1222,7 @@ class JubeatClan( # Looks to be set to true when there's an old profile, stops tutorial from # happening on first load. - info.add_child(Node.bool('inherit', profile.get_bool('has_old_version'))) + info.add_child(Node.bool('inherit', profile.get_bool('has_old_version') and not profile.get_bool('saved'))) # Not saved, but loaded info.add_child(Node.s32('mtg_entry_cnt', 123)) @@ -1580,6 +1580,7 @@ class JubeatClan( def unformat_profile(self, userid: UserID, request: Node, oldprofile: Profile) -> Profile: newprofile = oldprofile.clone() + newprofile.replace_bool('saved', True) data = request.child('data') # Grab system information diff --git a/bemani/backend/jubeat/prop.py b/bemani/backend/jubeat/prop.py index bdcf09e..3a0c00a 100644 --- a/bemani/backend/jubeat/prop.py +++ b/bemani/backend/jubeat/prop.py @@ -826,7 +826,7 @@ class JubeatProp( # Looks to be set to true when there's an old profile, stops tutorial from # happening on first load. - info.add_child(Node.bool('inherit', profile.get_bool('has_old_version'))) + info.add_child(Node.bool('inherit', profile.get_bool('has_old_version') and not profile.get_bool('saved'))) # Not saved, but loaded info.add_child(Node.s32('mtg_entry_cnt', 123)) @@ -1086,6 +1086,7 @@ class JubeatProp( def unformat_profile(self, userid: UserID, request: Node, oldprofile: Profile) -> Profile: newprofile = oldprofile.clone() + newprofile.replace_bool('saved', True) data = request.child('data') # Grab system information diff --git a/bemani/backend/jubeat/qubell.py b/bemani/backend/jubeat/qubell.py index fdc37be..46f832b 100644 --- a/bemani/backend/jubeat/qubell.py +++ b/bemani/backend/jubeat/qubell.py @@ -546,7 +546,7 @@ class JubeatQubell( # Looks to be set to true when there's an old profile, stops tutorial from # happening on first load. - info.add_child(Node.bool('inherit', profile.get_bool('has_old_version'))) + info.add_child(Node.bool('inherit', profile.get_bool('has_old_version') and not profile.get_bool('saved'))) # Not saved, but loaded info.add_child(Node.s32('mtg_entry_cnt', 123)) @@ -922,6 +922,7 @@ class JubeatQubell( def unformat_profile(self, userid: UserID, request: Node, oldprofile: Profile) -> Profile: newprofile = oldprofile.clone() + newprofile.replace_bool('saved', True) data = request.child('data') # Grab system information diff --git a/bemani/backend/jubeat/saucer.py b/bemani/backend/jubeat/saucer.py index 818d090..2db01cc 100644 --- a/bemani/backend/jubeat/saucer.py +++ b/bemani/backend/jubeat/saucer.py @@ -189,7 +189,7 @@ class JubeatSaucer( # Looks to be set to true when there's an old profile, stops tutorial from # happening on first load. - info.add_child(Node.bool('inherit', profile.get_bool('has_old_version'))) + info.add_child(Node.bool('inherit', profile.get_bool('has_old_version') and not profile.get_bool('saved'))) # Not saved, but loaded info.add_child(Node.s32('mtg_entry_cnt', 123)) @@ -519,6 +519,7 @@ class JubeatSaucer( def unformat_profile(self, userid: UserID, request: Node, oldprofile: Profile) -> Profile: newprofile = oldprofile.clone() + newprofile.replace_bool('saved', True) data = request.child('data') # Grab player information diff --git a/bemani/backend/jubeat/saucerfulfill.py b/bemani/backend/jubeat/saucerfulfill.py index 3227b58..ea310f2 100644 --- a/bemani/backend/jubeat/saucerfulfill.py +++ b/bemani/backend/jubeat/saucerfulfill.py @@ -323,7 +323,7 @@ class JubeatSaucerFulfill( # Looks to be set to true when there's an old profile, stops tutorial from # happening on first load. - info.add_child(Node.bool('inherit', profile.get_bool('has_old_version'))) + info.add_child(Node.bool('inherit', profile.get_bool('has_old_version') and not profile.get_bool('saved'))) # Not saved, but loaded info.add_child(Node.s32('mtg_entry_cnt', 123)) @@ -601,6 +601,7 @@ class JubeatSaucerFulfill( def unformat_profile(self, userid: UserID, request: Node, oldprofile: Profile) -> Profile: newprofile = oldprofile.clone() + newprofile.replace_bool('saved', True) data = request.child('data') # Grab player information