Skip to content

Commit

Permalink
Remove a test-focused line, no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
DiddiLeija committed Aug 16, 2024
1 parent 83d8c63 commit 273005e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def update(self):
if self.situation.nextlevel not in ("menu", "death"):
savedata_fix("level", self.situation.nextlevel)
if type(self.situation).__name__.lower() in POSSIBLE_LEVELS and self.situation.check_anyone_alive:
print("true")
savedata_fix("saved_coins", self.situation.get_coin_count())
if not isinstance(self.situation, BaseScene):
coin_reset = get_savedata()["saved_coins"]
Expand All @@ -43,7 +42,7 @@ def update(self):
coin_reset = 0
self.situation = init_class(stages_list[self.situation.nextlevel], tmp)
self.situation.restore_coins(coin_reset)
del tmp # we have to remove 'tmp' ASAP
del tmp, coin_reset

def draw(self):
self.situation.draw()
Expand Down

0 comments on commit 273005e

Please sign in to comment.