I'm using 4.1.1 stable,
get_tree().network_peer_connected.connect(_player_connected) get_tree().network_peer_disconnected.connect(_player_disconnected) get_tree().connected_to_server.connect(_connected_to_server)the first 2 lines seem to have worked (weirdly) and yes I get the error:
Line 11:Identifier "_connected_to_server" not declared in the current scope.
What could I use to get around this problem?
This is the tutorial I'm following:
Godot 3 Networked Multiplayer Shooter Tutorial