Skip to content

Commit

Permalink
fix: add missing commas in code example in lesson 23
Browse files Browse the repository at this point in the history
  • Loading branch information
ganimtron-10 authored Oct 15, 2023
1 parent be11bd8 commit 77df959
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ func _ready() -> void:
var runnable_code_example = get_parent()
var item_names: PoolStringArray = []
for item in get_children():
item_names.append('\\t\"%s\"' % item.get_texture_name())
item_names.append('\\t\"%s\",' % item.get_texture_name())
item_names[-1] = item_names[-1].rstrip(',')
var code := CODE_BEGIN
code.append_array(item_names)
code.append_array(CODE_END)
Expand Down

0 comments on commit 77df959

Please sign in to comment.