GDScript: Fix uninitialized local variables not being reset

This commit is contained in:
Danil Alexeev committed 2024-03-30 23:25:30 +03:00
1 parent 86415f0245
commit 27d7760f41
10 files changed
+190 -73

No files matched your search

@@ -360,6 +360,13 @@ void GDScriptFunction::disassemble(const Vector<String> &p_code_lines) const {
incr += 3;
} break;
case OPCODE_ASSIGN_NULL: {
text += "assign ";
text += DADDR(1);
text += " = null";
incr += 2;
} break;
case OPCODE_ASSIGN_TRUE: {
text += "assign ";
text += DADDR(1);