mirror of
https://github.com/Steffo99/nanogolf.git
synced 2024-11-21 15:44:21 +00:00
Disallow strokes while in hole
This commit is contained in:
parent
923a5e17c9
commit
b8af4952d7
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue