From b8af4952d7ce714bfe5658abe5ebd03d1aa7f9ff Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 16 Mar 2024 05:56:10 +0100 Subject: [PATCH] Disallow strokes while in hole --- scenes/golf_ball.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/scenes/golf_ball.gd b/scenes/golf_ball.gd index 1e9cf04..59e415f 100644 --- a/scenes/golf_ball.gd +++ b/scenes/golf_ball.gd @@ -134,6 +134,7 @@ func check_has_entered_hole() -> bool: func rpc_sync_enter_hole(): in_hole = true visible = false + putt_controller.can_putt = false if not multiplayer.is_server(): hole_sound.play() entered_hole.emit(strokes)