Skip to content

Commit

Permalink
Removed the No Download button because it's redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirmentio committed Dec 15, 2021
1 parent 2da217b commit 84161d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
2 changes: 0 additions & 2 deletions Main.gd
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ func start_game():
if $Panel/TabContainer/Nyoom/Panel/NicknameLineEdit.text != "":
args.append("+name")
args.append($Panel/TabContainer/Nyoom/Panel/NicknameLineEdit.text)
if $Panel/TabContainer/Nyoom/Panel/DLCheck.pressed:
args.append("-nodownload")
match $Panel/TabContainer/Settings/DisplayPanel/RenderOptions.selected:
0:
args.append("-software")
Expand Down
17 changes: 3 additions & 14 deletions Main.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -164,27 +164,15 @@ __meta__ = {
[node name="DCCheck" type="CheckBox" parent="Panel/TabContainer/Nyoom/Panel"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -360.0
margin_right = -227.0
margin_left = -146.0
margin_right = -13.0
margin_bottom = 29.0
text = "Direct Connect"
flat = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="DLCheck" type="CheckBox" parent="Panel/TabContainer/Nyoom/Panel"]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -220.0
margin_right = -12.0
margin_bottom = 29.0
text = "Do not Download addons"
flat = true
__meta__ = {
"_edit_use_anchors_": false
}

[node name="ServerLineEdit" type="LineEdit" parent="Panel/TabContainer/Nyoom/Panel"]
anchor_right = 1.0
margin_left = 8.0
Expand Down Expand Up @@ -532,6 +520,7 @@ text = "Exit"
[node name="Dialog" parent="." instance=ExtResource( 5 )]

[node name="DownloadDialog" parent="." instance=ExtResource( 10 )]
visible = false
margin_top = 72.0
margin_right = -25.0
margin_bottom = -152.0
Expand Down

0 comments on commit 84161d7

Please sign in to comment.