Skip to content

Commit

Permalink
rename level
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed Aug 28, 2024
1 parent 0e1fe86 commit df00a0f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions game/migrations/0100_reorder_python_levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def set_level_order(apps: Apps, *args):
level1013.next_level = Level.objects.get(name="1014", default=True)
level1013.save()

level41 = Level.objects.get(default=True, name="1041")
level41.next_level = None
level41.save()
level1041 = Level.objects.get(default=True, name="1041")
level1041.next_level = None
level1041.save()


def reset_level_order(apps: Apps, *args):
Expand All @@ -110,9 +110,9 @@ def reset_level_order(apps: Apps, *args):
level1013.next_level = None
level1013.save()

level41 = Level.objects.get(default=True, name="1041")
level41.next_level = Level.objects.get(default=True, name="1042")
level41.save()
level1041 = Level.objects.get(default=True, name="1041")
level1041.next_level = Level.objects.get(default=True, name="1042")
level1041.save()


def update_level_score_fields(apps: Apps, *args):
Expand Down

0 comments on commit df00a0f

Please sign in to comment.