diff options
Diffstat (limited to 'game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd')
-rw-r--r-- | game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd b/game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd new file mode 100644 index 0000000..242fe6e --- /dev/null +++ b/game/addons/zylann.hterrain/tools/util/rich_text_label_hyperlinks.gd @@ -0,0 +1,11 @@ +@tool +extends RichTextLabel + + +func _init(): + meta_clicked.connect(_on_meta_clicked) + + +func _on_meta_clicked(meta): + OS.shell_open(meta) + |