multiplayer: added option for upnp
This commit is contained in:
parent
caaa09e517
commit
1d42620dbc
2 changed files with 16 additions and 6 deletions
|
|
@ -113,7 +113,12 @@ text = "Menu
|
|||
"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ServerButton2" type="Button" parent="UI/Menu/MarginContainer/VBoxContainer"]
|
||||
[node name="DisableUPNPButton" type="CheckButton" parent="UI/Menu/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Disable UPNP
|
||||
"
|
||||
|
||||
[node name="ServerButton" type="Button" parent="UI/Menu/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Host
|
||||
"
|
||||
|
|
@ -131,5 +136,5 @@ text = "Enter Address"
|
|||
_spawnable_scenes = PackedStringArray("uid://cfceg80unq0pe")
|
||||
spawn_path = NodePath("..")
|
||||
|
||||
[connection signal="pressed" from="UI/Menu/MarginContainer/VBoxContainer/ServerButton2" to="." method="_on_server_button_pressed"]
|
||||
[connection signal="pressed" from="UI/Menu/MarginContainer/VBoxContainer/ServerButton" to="." method="_on_server_button_pressed"]
|
||||
[connection signal="pressed" from="UI/Menu/MarginContainer/VBoxContainer/ClientButton" to="." method="_on_client_button_pressed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue