Skip to content

Commit 1ee0d89

Browse files
authored
dual_stick_shooter: ESC should only close the window (#2548)
1 parent 39501b8 commit 1ee0d89

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arcade/examples/dual_stick_shooter.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,6 @@ def on_key_press(self, key, modifiers):
275275
self.player.shoot_left_pressed = True
276276
elif key == arcade.key.DOWN:
277277
self.player.shoot_down_pressed = True
278-
elif key == arcade.key.ESCAPE:
279-
self.player.start_pressed = True
280278
# close the window if the user hits the escape key
281279
elif key == arcade.key.ESCAPE:
282280
self.window.close()

0 commit comments

Comments
 (0)