{Multi,Single}Dynamic will now start with a correctly colored board of tiles.
This commit is contained in:
parent
a7d956209a
commit
3294a35028
@ -2,7 +2,7 @@
|
||||
#include "functions.h"
|
||||
|
||||
SingleDynamicEffect::SingleDynamicEffect() {
|
||||
for (int i=0; i<tile_count; i++) tiles[i] = CHSV(random8(), 180, 255);
|
||||
for (int i=0; i<tile_count; i++) tiles[i] = CHSV(baseHue + random8(64), 180, 255);
|
||||
}
|
||||
int SingleDynamicEffect::getLoopTime() {
|
||||
return EFFECT_SINGLE_DYNAMIC_LOOP_TIME;
|
||||
|
Loading…
Reference in New Issue
Block a user