mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
GDScript: Fix uninitialized local variables not being reset
This commit is contained in:
parent
86415f0245
commit
27d7760f41
10 changed files with 190 additions and 73 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue