Added client nameplates

This commit is contained in:
2020-05-02 16:36:51 -04:00
parent 948b379f9d
commit ee233c52f0
3 changed files with 9 additions and 2 deletions

View File

@ -34,7 +34,8 @@ func _init():
client.bind()
func connect_to_server():
if peer:
peer.disconnect_now()
server_address.set_host(server_host)
server_address.set_port(SERVER_PORT)
peer = client.host_connect(server_address)