Merge pull request #21771 from WiggleWizard/get-stack-fix

Fixed return type for get_stack() function call
This commit is contained in:
Rémi Verschelde 2018-09-05 19:46:12 +02:00 committed by GitHub
commit 3a8f8381f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;