Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions breakthebank.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def drawStageSelection(self):
if (stage_placeholderbutton_1.isOver(mouse) and 1<=levels_to_draw):
button_hover.play()
print("TRIGGERED stage selection -> in game")
self.current_level = level_map_0
self.current_level_parems = level0_param
self.current_level = level_map
self.current_level_parems = level_param
self.level = Level(self.current_level, self.current_level_parems, screen, "./imgs/stage1_lobby.png")
self.in_game = True
if (stage_placeholderbutton_2.isOver(mouse) and 2<=levels_to_draw):
Expand Down Expand Up @@ -205,7 +205,6 @@ def drawPauseMenu(self):
self.select_stage = True
if restart_button.isOver(mouse):
self.level = Level(self.current_level, self.current_level_parems, screen, "./imgs/stage1_lobby.png")
self.level = Level(self.current_level, level0_param, screen, "./imgs/stage1_lobby.png")
self.in_game = True
self.musicON = False
if event.type == pygame.KEYDOWN:
Expand Down