fixed credits link

This commit is contained in:
Tabby 2026-01-23 15:54:06 +11:00
parent a48d4f15c0
commit b1a57b7290
2 changed files with 5 additions and 0 deletions

View file

@ -394,4 +394,5 @@ fit_content = true
layout_mode = 2 layout_mode = 2
text = "Back to Menu" text = "Back to Menu"
[connection signal="meta_clicked" from="MarginContainer/PanelContainer/MarginContainer/VBoxContainer/ScrollContainer/VBoxContainer/other" to="." method="_on_other_meta_clicked"]
[connection signal="pressed" from="MarginContainer/PanelContainer/MarginContainer/VBoxContainer/MenuButton" to="." method="_on_menu_button_pressed"] [connection signal="pressed" from="MarginContainer/PanelContainer/MarginContainer/VBoxContainer/MenuButton" to="." method="_on_menu_button_pressed"]

View file

@ -34,3 +34,7 @@ func _on_credits_button_pressed() -> void:
func _on_menu_button_pressed() -> void: func _on_menu_button_pressed() -> void:
get_tree().change_scene_to_file("res://scenes/menu.tscn") get_tree().change_scene_to_file("res://scenes/menu.tscn")
func _on_other_meta_clicked(meta: Variant) -> void:
OS.shell_open(str(meta))