Skip to content

Commit

Permalink
Fix importing side story data.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuAuahDark committed Sep 21, 2024
1 parent c4c7b7c commit c7a0603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npps4/system/lila.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ async def import_user(context: idol.BasicSchoolIdolContext, serialized_data: Acc
scenario_data.completed = scenario_sid > 0

# Subscenario
for subscenario_sid in serialized_data.scenario:
for subscenario_sid in serialized_data.subscenario:
subscenario_id = abs(subscenario_sid)
subscenario_data = await subscenario.get(context, target, subscenario_id)
if subscenario_data is None:
Expand Down

0 comments on commit c7a0603

Please sign in to comment.