Work on exports and some fixes to sound and multiplayer functions
This commit is contained in:
@@ -33,6 +33,7 @@ func _on_start_hosting_button_pressed() -> void:
|
||||
#Set fields
|
||||
%ParticipantsText.text = "[color=FFFF00]*%s (HOST)[/color]\n" % handle
|
||||
%"Host Waiting".visible = true
|
||||
%IPLabel.text = Multiplayer.get_local_ip()
|
||||
Multiplayer.become_host()
|
||||
|
||||
|
||||
@@ -61,7 +62,7 @@ func _on_join_button_pressed() -> void:
|
||||
#Check for valid game
|
||||
#If found
|
||||
%Joining.visible = false
|
||||
if await Multiplayer.join_game(handle):
|
||||
if await Multiplayer.join_game(handle, %IPEdit.text):
|
||||
%"Host Waiting".visible = true
|
||||
%StartButton.visible = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user