]> git.sesse.net Git - ultimatescore/commitdiff
Fix channel_signal(), which broke setting of some inputs.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 8 Nov 2017 19:56:45 +0000 (20:56 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 8 Nov 2017 19:56:50 +0000 (20:56 +0100)
nageru/ultimate.lua

index 89d48de24f052969661a8650a13ad96b89304297..9bd4e17325bd2bd50548f90e601307fa170c9109 100644 (file)
@@ -350,7 +350,7 @@ end
 -- Called once for each channel, at the start of the program.
 -- Will never be called for live (0) or preview (1).
 function channel_signal(channel)
-       if is_plain_signal(channel) then
+       if is_plain_signal(channel - 2) then
                return channel - 2
        else
                return -1