Interaction brought back
This commit is contained in:
parent
2c7903e95d
commit
66e8707940
6 changed files with 23 additions and 11 deletions
|
|
@ -5,8 +5,9 @@ const active_bomb: StringName = "uid://dtbpyfdawb02b"
|
|||
func enter():
|
||||
machine.animation_player.play(machine.animation_prefix+"plant")
|
||||
machine.animation_player.animation_finished.connect(on_animation_finished)
|
||||
machine.speed_modifier = 0.0
|
||||
machine.player.get_node("PlantAudio").multiplayer_play()
|
||||
if is_multiplayer_authority():
|
||||
machine.speed_modifier = 0.0
|
||||
machine.player.get_node("PlantAudio").multiplayer_play()
|
||||
|
||||
func exit():
|
||||
machine.animation_player.animation_finished.disconnect(on_animation_finished)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue