diff options
| author | Hein-Pieter van Braam | 2017-10-01 16:51:05 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2017-10-01 16:51:05 +0200 |
| commit | 6c15c23889772ce4986765e801be3f216ed50a11 (patch) | |
| tree | 179234b4a42681b5cec0a661cae447bc0411c48f /modules/gdscript/gd_function.cpp | |
| parent | 4c36d133d736357253d1922c3870f7458c8cb760 (diff) | |
| download | godot-6c15c23889772ce4986765e801be3f216ed50a11.tar.gz godot-6c15c23889772ce4986765e801be3f216ed50a11.tar.zst godot-6c15c23889772ce4986765e801be3f216ed50a11.zip | |
Diffstat (limited to 'modules/gdscript/gd_function.cpp')
| -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 767ea29f3..9df2823c3 100644 --- a/modules/gdscript/gd_function.cpp +++ b/modules/gdscript/gd_function.cpp @@ -469,7 +469,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a if (cmp == scr_B) { //inherits from script, all ok extends_ok = true; - OPCODE_BREAK; + break; } cmp = cmp->_base; |
