fixed an issue regarding weapon node names causing multiplayer desync
This commit is contained in:
@ -55,7 +55,7 @@ func retrieve_card(i: int, reply: Hero) -> void:
|
||||
#add_child(item)
|
||||
button_collider.disabled = false
|
||||
button_box.position = Vector3(0,0,0)
|
||||
$AudioStreamPlayer3D.play()
|
||||
$StaticBody3D/AudioStreamPlayer3D.play()
|
||||
reply_player = null
|
||||
|
||||
|
||||
@ -63,5 +63,5 @@ func _on_static_body_3d_button_interacted(_value: int, reply: Hero) -> void:
|
||||
reply_player = reply
|
||||
button_collider.disabled = true
|
||||
button_box.position = Vector3(0,0,-0.2)
|
||||
$AudioStreamPlayer3D.play()
|
||||
$StaticBody3D/AudioStreamPlayer3D.play()
|
||||
randomize_cards()
|
||||
|
Reference in New Issue
Block a user