summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-05-11 20:57:52 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-05-11 20:57:52 -0300
commit0c57a58056d68e0e859ab8fd91676143cec9ef17 (patch)
tree94599cdd8ca9e5099a53a9f33f3316ec745f467f /modules/gdscript
parentc7292b1f3d22323352a14e756497b03d66c90666 (diff)
ability to drag scenes from filesystem to tree for instancing
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gd_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp
index 9b7d8eeac4..96fb9d81a7 100644
--- a/modules/gdscript/gd_functions.cpp
+++ b/modules/gdscript/gd_functions.cpp
@@ -1046,7 +1046,7 @@ void GDFunctions::call(Function p_func,const Variant **p_args,int p_arg_count,Va
} break;
case FUNC_MAX: {
- ERR_FAIL_V();
+ ERR_FAIL();
} break;
}