diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-17 14:45:47 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-17 14:45:47 +0200 |
commit | c63e0aefcf9d29dc4684efe893aceea6efac2bb6 (patch) | |
tree | c5789e2d9bdb10672d3d3a28273d73f1c256702f /modules/gdscript/gdscript_editor.cpp | |
parent | 4a48fd4b9f0f2f2c440e032c1920cce4fb3da683 (diff) | |
parent | 4b5daf06efa1329d60be15f635dd49a7d2b2f056 (diff) | |
download | redot-engine-c63e0aefcf9d29dc4684efe893aceea6efac2bb6.tar.gz |
Merge pull request #79366 from dalexeev/gds-signal-info-and-callback
Editor: Improve signal callback generation
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 5e626f0520..aec8f56516 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -500,7 +500,7 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na s += p_args[i].get_slice(":", 0); if (th) { String type = p_args[i].get_slice(":", 1); - if (!type.is_empty() && type != "var") { + if (!type.is_empty()) { s += ": " + type; } } |