From ac9b8f35c3190f4c899837ab024288ace21cbb88 Mon Sep 17 00:00:00 2001 From: Nathan Lovato <12694995+NathanLovato@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:59:57 +0200 Subject: [PATCH] content: change hint in L23P2 that suggests a function introduced in the following lesson --- course/lesson-23-append-to-arrays/lesson.tres | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/lesson-23-append-to-arrays/lesson.tres b/course/lesson-23-append-to-arrays/lesson.tres index acdb87b1..4045faa4 100644 --- a/course/lesson-23-append-to-arrays/lesson.tres +++ b/course/lesson-23-append-to-arrays/lesson.tres @@ -295,7 +295,7 @@ func run(): while " cursor_line = 0 cursor_column = 0 -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]" ) +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." ) validator_script_path = "res://course/lesson-23-append-to-arrays/popping-crates/TestPoppingCrates.gd" script_slice_path = "res://course/lesson-23-append-to-arrays/popping-crates/PoppingCrates.live-editor/slices/PoppingCrates.run.slice.tres" documentation_references = PoolStringArray( "array.pop_back" )