freeftf/scripts/settings_text.gd
patrick_pluto f3350a462a M7 B2
Bug fixes and other fixes. Migration to Godot 4.3 (RC3)
2024-08-11 19:43:03 +02:00

7 lines
144 B
GDScript

extends TextEdit
func _ready():
text = Game.settings[get_parent().name]
func _on_text_changed():
Game.save_setting(get_parent().name, text)