Files
gaim/addons/dialogue_manager/game_balloons/head_text.gd
T
2026-09-10 12:01:35 +02:00

16 lines
304 B
GDScript

extends RichTextLabel
func _ready() -> void:
_update_head_text()
func _notification(what: int) -> void:
if what == NOTIFICATION_TRANSLATION_CHANGED:
_update_head_text()
func _update_head_text() -> void:
var scene_name = get_tree().current_scene.name
text = "/" + tr(String(scene_name)) + "/"