summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-05 19:46:12 +0200
committerGitHub <noreply@github.com>2018-09-05 19:46:12 +0200
commit3a8f8381f210aebf6cb2279f14f8377706438d9c (patch)
tree48a28b1663b601e55031728ac114c253f513c59b /modules
parent8804eb8c061634f740af04132b2c68e5c27c449d (diff)
parentd227a9ae1294134313047ac953cb818ed04123c7 (diff)
Merge pull request #21771 from WiggleWizard/get-stack-fix
Fixed return type for get_stack() function call
Diffstat (limited to 'modules')
-rw-r--r--modules/gdscript/gdscript_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_functions.cpp b/modules/gdscript/gdscript_functions.cpp
index d9c20868bd..03e7740887 100644
--- a/modules/gdscript/gdscript_functions.cpp
+++ b/modules/gdscript/gdscript_functions.cpp
@@ -1853,7 +1853,7 @@ MethodInfo GDScriptFunctions::get_info(Function p_func) {
} break;
case GET_STACK: {
MethodInfo mi("get_stack");
- mi.return_val.type = Variant::NIL;
+ mi.return_val.type = Variant::ARRAY;
return mi;
} break;