minor typo fix

This commit is contained in:
EmNudge
2020-05-23 00:33:21 -04:00
committed by GitHub
parent 6b062581b2
commit 99a19ba07b

View File

@@ -634,7 +634,7 @@ choose one of the three animation types:
First, we get the list of animation names from the AnimatedSprite's ``frames``
property. This returns an Array containing all three animation names:
``["walk", "swim", "fly]``.
``["walk", "swim", "fly"]``.
We then need to pick a random number between ``0`` and ``2`` to select one of these
names from the list (array indices start at ``0``). ``randi() % n`` selects a