mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Editor: Improve signal callback generation
This commit is contained in:
parent
221884e6bc
commit
4b5daf06ef
3 changed files with 38 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue