diff options
author | rune-scape <allie.smith.epic@gmail.com> | 2024-06-02 02:07:47 -0700 |
---|---|---|
committer | rune-scape <spartacrafter@gmail.com> | 2024-06-02 02:08:26 -0700 |
commit | 7f7114c00881b4b27736d429ff3918aa6538f6e5 (patch) | |
tree | 81a745d8cdd45c85f6f46435cec1671a6b7d98b3 /modules/gdscript/gdscript.h | |
parent | 505da68b261be6ed37b42422c61358ff9d208748 (diff) | |
download | redot-engine-7f7114c00881b4b27736d429ff3918aa6538f6e5.tar.gz |
GDScript: partially allow some functions on invalid scripts
+ always default initialize static variables
+ dont invalidate script when dependant scripts don't compile/resolve
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r-- | modules/gdscript/gdscript.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h index 728459de44..d097cb193b 100644 --- a/modules/gdscript/gdscript.h +++ b/modules/gdscript/gdscript.h @@ -169,9 +169,7 @@ private: GDScriptFunction *static_initializer = nullptr; Error _static_init(); -#ifdef TOOLS_ENABLED void _static_default_init(); // Initialize static variables with default values based on their types. -#endif int subclass_count = 0; RBSet<Object *> instances; |