aboutsummaryrefslogtreecommitdiffstats
path: root/super-mario-theme
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2019-01-09 12:54:59 +0100
committerGravatar Christian Hesse <mail@eworm.de>2019-01-09 12:54:59 +0100
commit40931f4f282ec932358417ac67302013fa7d7a57 (patch)
treeef699f0c233bf2ac2420a726054500b34c49dd03 /super-mario-theme
parentbd922370037dd78da6204fc262216109aca7938a (diff)
super-mario-theme: simplify array access
Diffstat (limited to 'super-mario-theme')
-rw-r--r--super-mario-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/super-mario-theme b/super-mario-theme
index 1e59c6a..3e077c3 100644
--- a/super-mario-theme
+++ b/super-mario-theme
@@ -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");
}