Skip to content

Commit

Permalink
fix: ignore hotspot_indicator input event when WaitingScreen is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
ThmsKnz authored and dploeger committed Nov 16, 2023
1 parent 6337a0c commit 11d1d5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/egoventure/nodes/hotspots/hotspot.gd
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ func _process(_delta):
# Hotspot indicator toggle
func _input(event):
if show_indicator and \
(not DetailView.is_visible or DetailView.is_a_parent_of(self)):
(not DetailView.is_visible or DetailView.is_a_parent_of(self)) and \
not WaitingScreen.is_visible():
if event.is_action_pressed("hotspot_indicator"):
Speedy.hidden = true
_hotspot_indicator.show()
Expand Down

0 comments on commit 11d1d5c

Please sign in to comment.