multiplayer: added option for upnp

This commit is contained in:
Simon Ward 2026-01-27 20:16:53 +13:00
parent caaa09e517
commit cc4c593745
2 changed files with 16 additions and 6 deletions

View file

@ -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"]