Rename print_x_times to print_n_times in Cross-language scripting (#6143)

Change code to match the rest of the documentation. C# examples
use PrintNTimes and calls print_n_times, so change gdscript to match.
This commit is contained in:
David Briscoe
2022-09-06 09:19:16 -07:00
committed by Hugo Locurcio
parent 4e1d722d35
commit 692a64a773

View File

@@ -29,7 +29,7 @@ The following two scripts will be used as references throughout this page.
for element in arr:
print(element)
func print_x_times(msg : String, n : int) -> void:
func print_n_times(msg : String, n : int) -> void:
for i in range(n):
print(msg)