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

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;