summaryrefslogtreecommitdiff
path: root/scene/resources/default_theme/tab_menu_hl.png
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2020-01-09 10:37:27 -0300
committerGeorge Marques <george@gmarqu.es>2020-01-09 10:43:29 -0300
commitcc9ca9eb34d2f9ab0fe44c462faa644cc8700c59 (patch)
tree790568803182bef725242bb97f89e776c0bafec1 /scene/resources/default_theme/tab_menu_hl.png
parente97e951741c5f1a5865e1b551edb184af6374999 (diff)
GDScript: Don't re-evaluate index on assigment with operation
Pass the calculated index from the stack and use the same to get and set the value. This avoids a function with side effects being evaluated twice when using indexing in an assignment with operation statement (e.g. a[function()] += 1).
Diffstat (limited to 'scene/resources/default_theme/tab_menu_hl.png')
0 files changed, 0 insertions, 0 deletions