Skip to content

Commit

Permalink
Allow echoes for cycling destinations and targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jspahrsummers committed Jul 7, 2024
1 parent 9f7113b commit 759a679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actors/player.gd
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ func _unhandled_key_input(event: InputEvent) -> void:
if self.hyperspace_controller.jumping:
return

if event.is_action_pressed("cycle_jump_destination"):
if event.is_action_pressed("cycle_jump_destination", true):
self.hyperspace_controller.set_jump_destination(_next_system_connection())
self.get_viewport().set_input_as_handled()

if event.is_action_pressed("cycle_target"):
if event.is_action_pressed("cycle_target", true):
self.ship.targeting_system.target = _next_target()
self.get_viewport().set_input_as_handled()

Expand Down

0 comments on commit 759a679

Please sign in to comment.