diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-05 19:46:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 19:46:12 +0200 |
commit | 3a8f8381f210aebf6cb2279f14f8377706438d9c (patch) | |
tree | 48a28b1663b601e55031728ac114c253f513c59b /modules | |
parent | 8804eb8c061634f740af04132b2c68e5c27c449d (diff) | |
parent | d227a9ae1294134313047ac953cb818ed04123c7 (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.cpp | 2 |
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; |