GDScript: Fix loading of interdependent autoloads
Move the autoload resolution to runtime by loading it into the stack with an extra instruction. This allows an autoload to use another autoload singleton independent of load order.
This commit is contained in:
@ -348,6 +348,7 @@ public:
|
||||
OPCODE_ITERATE_PACKED_VECTOR3_ARRAY,
|
||||
OPCODE_ITERATE_PACKED_COLOR_ARRAY,
|
||||
OPCODE_ITERATE_OBJECT,
|
||||
OPCODE_STORE_GLOBAL,
|
||||
OPCODE_STORE_NAMED_GLOBAL,
|
||||
OPCODE_TYPE_ADJUST_BOOL,
|
||||
OPCODE_TYPE_ADJUST_INT,
|
||||
|
||||
Reference in New Issue
Block a user