Merge pull request #79366 from dalexeev/gds-signal-info-and-callback

Editor: Improve signal callback generation
This commit is contained in:
Rémi Verschelde committed 2023-09-17 14:45:47 +02:00
commit c63e0aefcf
3 files changed
+38 -8

No files matched your search

+1 -1
View File
@@ -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;
}
}