mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
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:
committed by
Hugo Locurcio
parent
829ad96075
commit
385453decb
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user