Skip to content

Commit

Permalink
Finish
Browse files Browse the repository at this point in the history
  • Loading branch information
hola-soy-milk committed Mar 12, 2023
1 parent d3850b4 commit 63aa4ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion world.gd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ func _on_host_button_pressed():

func _on_join_button_pressed():
main_menu.hide()
enet_peer.create_client("localhost", PORT)
print("Joining game at %s" % address_entry.text)
enet_peer.create_client(address_entry.text, PORT)
multiplayer.multiplayer_peer = enet_peer

func add_player(peer_id):
Expand Down

0 comments on commit 63aa4ec

Please sign in to comment.