Skip to content

Commit 4e7d30a

Browse files
committed
MouseManager: Do not hardcode wait_time in code
For hiding the mouse. The timer is already configured to wait 3 seconds.
1 parent 967b2be commit 4e7d30a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scenes/globals/mouse_manager/mouse_manager.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func _ready() -> void:
2020
func _input(event: InputEvent) -> void:
2121
if event is InputEventMouseMotion:
2222
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
23-
hide_timer.start(3)
23+
hide_timer.start()
2424

2525

2626
func _on_hide_timer_timeout() -> void:

0 commit comments

Comments
 (0)