diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-17 09:55:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-17 09:55:18 +0200 |
commit | 5bf01654d75f9493fba6761c9c360fef3019f082 (patch) | |
tree | 651c1a8e35378bd6a20289023e0cc5ca91e99dab /modules/gdscript | |
parent | c2a616f3ecc5fa0ee7d85507b971e7578000a562 (diff) | |
parent | ad14b80e2ab073bac28af6c1bc326327573fabe4 (diff) |
Merge pull request #53906 from opl-/fix/53891
Fix name used instead of doc for GDScript signals
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gdscript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index 2bae838543..e9d3749a8d 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -545,7 +545,7 @@ void GDScript::_update_doc() { for (int i = 0; i < signals.size(); i++) { DocData::MethodDoc signal_doc; if (doc_signals.has(signals[i].name)) { - DocData::signal_doc_from_methodinfo(signal_doc, signals[i], signals[i].name); + DocData::signal_doc_from_methodinfo(signal_doc, signals[i], doc_signals[signals[i].name]); } else { DocData::signal_doc_from_methodinfo(signal_doc, signals[i], String()); } |