From f95bd1e169619ab218a29195f78730d9e9bbe04b Mon Sep 17 00:00:00 2001 From: Andy Sloane Date: Tue, 3 Nov 2015 17:55:12 -0800 Subject: [PATCH] whoops, more refactoring bugs i should really write some tests. --- xmeffects.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmeffects.js b/xmeffects.js index a936bba..38515d9 100644 --- a/xmeffects.js +++ b/xmeffects.js @@ -169,9 +169,9 @@ function eff_t0_f(ch, data) { // set tempo console.log("tempo 0?"); return; } else if(data < 0x20) { - tempo = data; + xm.tempo = data; } else { - bpm = data; + xm.bpm = data; } }