diff --git a/scripts/player.gd b/scripts/player.gd index a5004a2..a4a0c9f 100644 --- a/scripts/player.gd +++ b/scripts/player.gd @@ -57,6 +57,7 @@ func spawn(): set_linear_velocity(Vector3()) func _input(event): + if is_network_master(): if Input.is_action_just_pressed("switch_hero"): switch_hero_interface() # Quit the game: