summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2023-02-24 21:39:10 -0300
committerGeorge Marques <george@gmarqu.es>2023-02-24 22:01:06 -0300
commit0e6aa6fc3879c4c1c37bc598a83a44cb5cddfe85 (patch)
treed58db95f494f6b4654ca4f54ee0e178ab3c8dccf /SConstruct
parent6296b46008fb8d8e5cb9b60af05fa1ea26b8f600 (diff)
GDScript: Initialize all defaults beforehand in implicit constructor
Set all the default values for typed variables before actually trying to initialize them, including `@onready` ones. This ensures that if validated calls are being used there will be a value of the correct type, even if the resolution is done out of order or deferred because of `@onready`.
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions