summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoropl- <opl-@users.noreply.github.com>2021-10-17 05:54:27 +0200
committeropl- <opl-@users.noreply.github.com>2021-10-17 05:54:27 +0200
commitad14b80e2ab073bac28af6c1bc326327573fabe4 (patch)
tree651c1a8e35378bd6a20289023e0cc5ca91e99dab
parentc2a616f3ecc5fa0ee7d85507b971e7578000a562 (diff)
Fix name used instead of doc for GDScript signals
-rw-r--r--modules/gdscript/gdscript.cpp2
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());
}