Преглед изворни кода

Merge pull request #11622 from scayze/opcode_break_fix

Fixed error when extending another class in GDscript
Hein-Pieter van Braam пре 8 година
родитељ
комит
dc18b8d7e8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/gdscript/gd_function.cpp

+ 1 - 1
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;