summaryrefslogtreecommitdiff
path: root/editor/editor_run_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_run_script.h')
-rw-r--r--editor/editor_run_script.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_run_script.h b/editor/editor_run_script.h
index 28a854aaeb..a2399bd780 100644
--- a/editor/editor_run_script.h
+++ b/editor/editor_run_script.h
@@ -39,7 +39,7 @@ class EditorNode;
class EditorScript : public RefCounted {
GDCLASS(EditorScript, RefCounted);
- EditorNode *editor;
+ EditorNode *editor = nullptr;
protected:
static void _bind_methods();