diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-27 23:25:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-27 23:25:53 +0200 |
commit | c4a426d6ec71865b971ad419bf925ce8b8f9c37b (patch) | |
tree | 4bcece6ac87faea0c66d76d647d8b151a54d4ecd /modules/gdscript/gdscript_codegen.h | |
parent | 25baa32db068af49cda1d79ea211c9df6c47a547 (diff) | |
parent | 511a4b761c3b5bf565f6e580fc9774a99e72a53e (diff) |
Merge pull request #62462 from vnen/gdscript-setter-chaining
GDScript: Fix setter being called in chains for shared types
Diffstat (limited to 'modules/gdscript/gdscript_codegen.h')
-rw-r--r-- | modules/gdscript/gdscript_codegen.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_codegen.h b/modules/gdscript/gdscript_codegen.h index 326b66a295..81fa265aca 100644 --- a/modules/gdscript/gdscript_codegen.h +++ b/modules/gdscript/gdscript_codegen.h @@ -140,6 +140,8 @@ public: virtual void write_if(const Address &p_condition) = 0; virtual void write_else() = 0; virtual void write_endif() = 0; + virtual void write_jump_if_shared(const Address &p_value) = 0; + virtual void write_end_jump_if_shared() = 0; virtual void start_for(const GDScriptDataType &p_iterator_type, const GDScriptDataType &p_list_type) = 0; virtual void write_for_assignment(const Address &p_variable, const Address &p_list) = 0; virtual void write_for() = 0; |