can't hurt to initialized light.endstate (state after number of sequences)
This commit is contained in:
parent
5471f0cd5b
commit
47f5e58005
1 changed files with 1 additions and 0 deletions
|
@ -206,6 +206,7 @@ light = {
|
|||
m.continuous = 0;
|
||||
m.lastswitch = 0;
|
||||
m.seqcount = -1;
|
||||
m.endstate = 0;
|
||||
m.count = nil;
|
||||
m.switchL = setlistener(m.switchN, func { m._switch_() }, 1);
|
||||
return m;
|
||||
|
|
Loading…
Add table
Reference in a new issue