summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-09-27 09:03:13 +0200
committerGitHub <noreply@github.com>2017-09-27 09:03:13 +0200
commitdc18b8d7e848a4de7f91e30c1ba23b634395c22e (patch)
tree3075121252847f5cf33f8fb69a6911c9c726f9ea
parent6eb5af2b5af7b86a642396a719c746618dc6177e (diff)
parent0722df482988de8b032c6a878a761bccbf07f7bb (diff)
Merge pull request #11622 from scayze/opcode_break_fix
Fixed error when extending another class in GDscript
-rw-r--r--modules/gdscript/gd_function.cpp2
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;