Skip to content

Commit

Permalink
Fix #5 using a workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
DiddiLeija committed Apr 5, 2024
1 parent 4c54ecb commit 3f50a46
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/levels.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ class One(BaseLevel):
]
ending_button = Button(1064, 96)
finished_next = "two"
# this is a workaround to <https://github.com/DiddiLeija/diddi-and-eli/issues/5>
# TODO: Safely remove this workaround at some point
nextlevel = "two"

def draw(self):
"pyxel-like 'update' function."
Expand Down Expand Up @@ -162,6 +165,9 @@ class Two(BaseLevel):
acceptable_clouds = [(16, 16)] # Only one kind of clouds
ending_button = Button(1192, 192)
finished_next = "three"
# this is a workaround to <https://github.com/DiddiLeija/diddi-and-eli/issues/5>
# TODO: Safely remove this workaround at some point
nextlevel = "two"

def draw(self):
"Pyxel-like 'update' function."
Expand Down

0 comments on commit 3f50a46

Please sign in to comment.