super-mario-theme: simplify array access

This commit is contained in:
Christian Hesse 2019-01-09 12:54:59 +01:00
parent bd92237003
commit 40931f4f28

View file

@ -60,7 +60,7 @@
:foreach Beep in=$Beeps do={
:if ([ :len $Beep ] = 2) do={
:beep frequency=[ :pick $Beep 0 ] length=([ :pick $Beep 1 ] . "ms");
:beep frequency=($Beep->0) length=(($Beep->1) . "ms");
} else={
:delay ($Beep . "ms");
}