You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Fix wrong increment for disassembly of lambda
This commit is contained in:
@@ -851,7 +851,7 @@ void GDScriptFunction::disassemble(const Vector<String> &p_code_lines) const {
|
|||||||
}
|
}
|
||||||
text += ")";
|
text += ")";
|
||||||
|
|
||||||
incr = 3 + captures_count;
|
incr = 4 + captures_count;
|
||||||
} break;
|
} break;
|
||||||
case OPCODE_CREATE_SELF_LAMBDA: {
|
case OPCODE_CREATE_SELF_LAMBDA: {
|
||||||
int instr_var_args = _code_ptr[++ip];
|
int instr_var_args = _code_ptr[++ip];
|
||||||
@@ -871,7 +871,7 @@ void GDScriptFunction::disassemble(const Vector<String> &p_code_lines) const {
|
|||||||
}
|
}
|
||||||
text += ")";
|
text += ")";
|
||||||
|
|
||||||
incr = 3 + captures_count;
|
incr = 4 + captures_count;
|
||||||
} break;
|
} break;
|
||||||
case OPCODE_JUMP: {
|
case OPCODE_JUMP: {
|
||||||
text += "jump ";
|
text += "jump ";
|
||||||
|
|||||||
Reference in New Issue
Block a user