Browse Source

Merge pull request #7823 from Piralein/export

Max Hilbrunner 1 year ago
parent
commit
38f963530c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/best_practices/godot_interfaces.rst

+ 1 - 1
tutorials/best_practices/godot_interfaces.rst

@@ -58,7 +58,7 @@ access.
     @export var script_type: Script
 
     # Must configure from the editor, defaults to null.
-    export var const_script: Script:
+    @export var const_script: Script:
         set(value):
             if Engine.is_editor_hint():
                 const_script = value