From 3a0dc521274e6ab3228825bbf1fb9b68665ca3d1 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Tue, 21 Jan 2020 02:05:56 -0300 Subject: [PATCH] Make script made via plugin creation obey syntax settings --- editor/plugin_config_dialog.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/editor/plugin_config_dialog.cpp b/editor/plugin_config_dialog.cpp index 28667abe770..07b87633a92 100644 --- a/editor/plugin_config_dialog.cpp +++ b/editor/plugin_config_dialog.cpp @@ -77,16 +77,19 @@ void PluginConfigDialog::_on_confirmed() { if (lang_name == GDScriptLanguage::get_singleton()->get_name()) { // Hard-coded GDScript template to keep usability until we use script templates. - Ref gdscript = memnew(GDScript); + Ref