diff options
author | Scayze <manuel.strey@gmx.de> | 2017-09-27 03:23:39 +0200 |
---|---|---|
committer | Scayze <manuel.strey@gmx.de> | 2017-09-27 03:23:39 +0200 |
commit | 0722df482988de8b032c6a878a761bccbf07f7bb (patch) | |
tree | 6f56195c51be6b94a40622127cb33f72218862a2 | |
parent | 0dbec3abbb76fcc8ab7721286415abfb91873f88 (diff) |
Fixed wrong break statement in GDFunction::call
-rw-r--r-- | modules/gdscript/gd_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |