Browse Source

Merge pull request #6923 from Loregret/master

Update "reporting node..." segment
Max Hilbrunner 2 years ago
parent
commit
980e99d7bb
1 changed files with 4 additions and 4 deletions
  1. 4 4
      tutorials/plugins/running_code_in_the_editor.rst

+ 4 - 4
tutorials/plugins/running_code_in_the_editor.rst

@@ -254,17 +254,17 @@ By default, the warning only updates when closing and reopening the scene.
  .. code-tab:: gdscript GDScript
 
     # Use setters to update the configuration warning automatically.
-    export var title = "":
+    @export var title = "":
         set(p_title):
             if p_title != title:
                 title = p_title
-                update_configuration_warning()
+                update_configuration_warnings()
 
-    export var description = "":
+    @export var description = "":
         set(p_description):
             if p_description != description:
                 description = p_description
-                update_configuration_warning()
+                update_configuration_warnings()
 
 
     func _get_configuration_warning():