GDQuest / learn-gdscript

Learn Godot's GDScript programming language from zero, right in your browser, for free.
https://gdquest.github.io/learn-gdscript/
Other
2.04k stars 149 forks source link

Lesson 20 - Excercise 2, right answer with wrong script #976

Open Gianni-B opened 1 month ago

Gianni-B commented 1 month ago

Hello! I believe I’ve found a bug in the solution for exercise 2 in lesson 20 on strings.

The original solution is:

_func run(): combo = ["jab", "jab", "uppercut"] for animation_name in combo: play_animation(animationname)

However, even with this alternative solution the excercise seems to be correct:

_func run(): combo = ["jab", "jab", "uppercut"] for animation_name in combo: playanimation("")

image