commit 4371cc499979a8f7074559db71b2c00c3211485d
parent 74b7fd0e15bf37ec2243b5c8c601b14eb6164e2f
Author: FIGBERT <figbert@figbert.com>
Date: Sat, 30 Jan 2021 23:25:49 -0800
Rename _client functions to _peer in connections
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/scripts/main.gd b/src/scripts/main.gd
@@ -23,8 +23,8 @@ func _initalize_instance() -> void:
if not is_server:
get_tree().connect("connected_to_server", self, "_connected_successfully")
get_tree().connect("connection_failed", self, "_connection_failed")
- get_tree().connect("network_peer_connected", self, "_client_joined")
- get_tree().connect("network_peer_disconnected", self, "_client_left")
+ get_tree().connect("network_peer_connected", self, "_peer_joined")
+ get_tree().connect("network_peer_disconnected", self, "_peer_left")
func _peer_joined(id: int) -> void: