From 40931f4f282ec932358417ac67302013fa7d7a57 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 9 Jan 2019 12:54:59 +0100 Subject: super-mario-theme: simplify array access --- super-mario-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'super-mario-theme') 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"); } -- cgit v1.2.3-54-g00ecf