summaryrefslogtreecommitdiff
path: root/editor/script_create_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/script_create_dialog.h')
-rw-r--r--editor/script_create_dialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/script_create_dialog.h b/editor/script_create_dialog.h
index 40415ea209..a73be29259 100644
--- a/editor/script_create_dialog.h
+++ b/editor/script_create_dialog.h
@@ -86,8 +86,8 @@ class ScriptCreateDialog : public ConfirmationDialog {
SCRIPT_ORIGIN_EDITOR,
};
struct ScriptTemplateInfo {
- int id;
- ScriptOrigin origin;
+ int id = 0;
+ ScriptOrigin origin = ScriptOrigin::SCRIPT_ORIGIN_EDITOR;
String dir;
String name;
String extension;