diff options
| author | s-ol <s+removethis@s-ol.nu> | 2026-04-13 17:58:10 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2026-04-13 17:58:10 +0000 |
| commit | 3ee0a5c534f833bcfd227139b280fbb2a9f68352 (patch) | |
| tree | e67de661426742bcfe3b2ecbe178ce2daf33d344 /examples/linkhut.lua | |
| parent | fix whitespace (diff) | |
| download | lua-abletonlink-3ee0a5c534f833bcfd227139b280fbb2a9f68352.tar.gz lua-abletonlink-3ee0a5c534f833bcfd227139b280fbb2a9f68352.zip | |
examples/linkhut: fix phase display
Diffstat (limited to 'examples/linkhut.lua')
| -rw-r--r-- | examples/linkhut.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/linkhut.lua b/examples/linkhut.lua index 8987bd9..7490823 100644 --- a/examples/linkhut.lua +++ b/examples/linkhut.lua @@ -51,7 +51,7 @@ function print_state() local phase = session_state:phase_at_time(time, quantum) local bts = '' - for i = 0, math.ceil(quantum) do + for i = 0, math.ceil(quantum)-1 do bts = bts .. (i < phase and 'X' or 'O') end |
