diff options
author | George Marques <george@gmarqu.es> | 2023-02-24 21:39:10 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2023-02-24 22:01:06 -0300 |
commit | 0e6aa6fc3879c4c1c37bc598a83a44cb5cddfe85 (patch) | |
tree | d58db95f494f6b4654ca4f54ee0e178ab3c8dccf /SConstruct | |
parent | 6296b46008fb8d8e5cb9b60af05fa1ea26b8f600 (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