Compare commits
No commits in common. "153c92ad0a39da9f062e2d5e87d2f7cb7cb54e34" and "6d1212dae3c540f8773c156e77abce9581a7e299" have entirely different histories.
153c92ad0a
...
6d1212dae3
|
@ -35,26 +35,4 @@ autoplay = true
|
||||||
bus = "Music"
|
bus = "Music"
|
||||||
script = ExtResource( 4 )
|
script = ExtResource( 4 )
|
||||||
|
|
||||||
[node name="DisconnectDialog" type="PopupDialog" parent="."]
|
|
||||||
anchor_left = 0.5
|
|
||||||
anchor_top = 0.5
|
|
||||||
anchor_right = 0.5
|
|
||||||
anchor_bottom = 0.5
|
|
||||||
margin_left = -130.0
|
|
||||||
margin_top = -30.0
|
|
||||||
margin_right = 130.0
|
|
||||||
margin_bottom = 30.0
|
|
||||||
__meta__ = {
|
|
||||||
"_edit_use_anchors_": false
|
|
||||||
}
|
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="DisconnectDialog"]
|
|
||||||
anchor_right = 1.0
|
|
||||||
anchor_bottom = 1.0
|
|
||||||
text = "Too many players disconnected
|
|
||||||
Game is cancelled"
|
|
||||||
align = 1
|
|
||||||
valign = 1
|
|
||||||
uppercase = true
|
|
||||||
|
|
||||||
[connection signal="finished" from="AudioStreamPlayer" to="AudioStreamPlayer" method="_on_finished"]
|
[connection signal="finished" from="AudioStreamPlayer" to="AudioStreamPlayer" method="_on_finished"]
|
||||||
|
|
|
@ -92,8 +92,6 @@ func exit_button_pressed():
|
||||||
remote func exit_requested():
|
remote func exit_requested():
|
||||||
switch_to_lobby()
|
switch_to_lobby()
|
||||||
|
|
||||||
remote func server_exit_requested() -> void:
|
|
||||||
switch_to_lobby()
|
|
||||||
$DisconnectDialog.popup()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,7 @@ ui_select={
|
||||||
}
|
}
|
||||||
ui_cancel={
|
ui_cancel={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777217,"unicode":0,"echo":false,"script":null)
|
"events": [ ]
|
||||||
]
|
|
||||||
}
|
}
|
||||||
ui_focus_next={
|
ui_focus_next={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
|
|
Loading…
Reference in New Issue