From 0722df482988de8b032c6a878a761bccbf07f7bb Mon Sep 17 00:00:00 2001 From: Scayze Date: Wed, 27 Sep 2017 03:23:39 +0200 Subject: Fixed wrong break statement in GDFunction::call --- modules/gdscript/gd_function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/gd_function.cpp b/modules/gdscript/gd_function.cpp index d39e967ac9..767ea29f3c 100644 --- a/modules/gdscript/gd_function.cpp +++ b/modules/gdscript/gd_function.cpp @@ -909,7 +909,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a gds = gds->base.ptr(); E = gds->member_functions.find(*methodname); if (E) - OPCODE_BREAK; + break; } Variant::CallError err; -- cgit v1.2.3