Skip to content

Commit ac9b8f3

Browse files
committed
content: change hint in L23P2 that suggests a function introduced in the following lesson
1 parent c81e9de commit ac9b8f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

course/lesson-23-append-to-arrays/lesson.tres

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ func run():
295295
while "
296296
cursor_line = 0
297297
cursor_column = 0
298-
hints = PoolStringArray( "Remember [code]while[/code] loops\? ", "Every time you [code]pop[/code] an item, the array\'s [code]size[/code] gets reduced", "Try [code]while crates.size() > 0[/code]" )
298+
hints = PoolStringArray( "Remember [code]while[/code] loops\? ", "Every time you [code]pop[/code] an item, the array\'s [code]size[/code] gets reduced", "You can write [code]while crates:[/code] to run code in a loop while there are values in the [code]crates[/code] array." )
299299
validator_script_path = "res://course/lesson-23-append-to-arrays/popping-crates/TestPoppingCrates.gd"
300300
script_slice_path = "res://course/lesson-23-append-to-arrays/popping-crates/PoppingCrates.live-editor/slices/PoppingCrates.run.slice.tres"
301301
documentation_references = PoolStringArray( "array.pop_back" )

0 commit comments

Comments
 (0)