1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Replace a OPCODE_BREAK with break in opcode 31

This was a mistake made in 520d84e. There are no more other looping
structures left in this function.
This commit is contained in:
Hein-Pieter van Braam
2017-10-01 16:51:05 +02:00
parent 4c36d133d7
commit 6c15c23889

View File

@@ -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;