diff options
author | George Marques <george@gmarqu.es> | 2022-04-20 14:22:22 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2022-04-24 21:49:02 -0300 |
commit | 01d13ab2c16aa69a6f81c10dfe4845a50c3e0c63 (patch) | |
tree | a469ac2f5102117868a37b43a5ad167a3cb62e99 /modules/gdscript/gdscript_function.h | |
parent | 690fefe43ee74c0ae3ed5642f3aefbeb711f9d1c (diff) | |
download | redot-engine-01d13ab2c16aa69a6f81c10dfe4845a50c3e0c63.tar.gz |
GDScript: Allow using self in lambdas
Diffstat (limited to 'modules/gdscript/gdscript_function.h')
-rw-r--r-- | modules/gdscript/gdscript_function.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_function.h b/modules/gdscript/gdscript_function.h index d07a167ca2..ba0d51c5cc 100644 --- a/modules/gdscript/gdscript_function.h +++ b/modules/gdscript/gdscript_function.h @@ -299,6 +299,7 @@ public: OPCODE_AWAIT, OPCODE_AWAIT_RESUME, OPCODE_CREATE_LAMBDA, + OPCODE_CREATE_SELF_LAMBDA, OPCODE_JUMP, OPCODE_JUMP_IF, OPCODE_JUMP_IF_NOT, |