Skip to content

Commit

Permalink
click multiple icons crash fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeb4dev authored and MrTanoshii committed Mar 27, 2022
1 parent 850eb5f commit 2ca0671
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mapview.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,7 @@ def on_mouse_press(self, x, y, button, modifiers):
game.setup()
self.window.show_view(game)

hit_step = arcade.check_for_collision_with_list(
self.cursor_sprite, MapView.step_list)
if hit_step and (hit_step[0].level is not None):
elif hit_step and (hit_step[0].level is not None):
if hit_step[0].unlocked:
story_level = hit_step[0].level
# Play monument click sfx
Expand Down

0 comments on commit 2ca0671

Please sign in to comment.