Browse Source

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

Fixed return type for get_stack() function call
Rémi Verschelde 7 years ago
parent
commit
3a8f8381f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/gdscript/gdscript_functions.cpp

+ 1 - 1
modules/gdscript/gdscript_functions.cpp

@@ -1853,7 +1853,7 @@ MethodInfo GDScriptFunctions::get_info(Function p_func) {
 		} break;
 		} break;
 		case GET_STACK: {
 		case GET_STACK: {
 			MethodInfo mi("get_stack");
 			MethodInfo mi("get_stack");
-			mi.return_val.type = Variant::NIL;
+			mi.return_val.type = Variant::ARRAY;
 			return mi;
 			return mi;
 		} break;
 		} break;