You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Fix uninitialized local variables not being reset
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user