small racing game im working on
Diffstat (limited to 'ui/editor/export.gd')
-rw-r--r--ui/editor/export.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/editor/export.gd b/ui/editor/export.gd
index d62aaaa..371fbfa 100644
--- a/ui/editor/export.gd
+++ b/ui/editor/export.gd
@@ -4,7 +4,7 @@ class_name EditorMarshalling
@onready var editor: TrackEditor = owner
func _pressed() -> void:
- var enc := EditorMarshalling.td2s(editor.to_trackdata())
+ var enc := EditorMarshalling.td2s(editor.get_trackdata())
print_rich("exporting to `[code]%s[/code]`" % enc) # for funny clipboard shenanigans
DisplayServer.clipboard_set(enc)