CycleEffect now uses the ID of an effect within cycle_effects to prevent repeating an effect instead of comparing the objects.

This commit is contained in:
fabian committed 2019-06-04 05:56:33 +02:00
1 parent 46062945ff
commit 94687bab36
2 files changed
+5 -5

No files matched your search

+1
View File
@@ -7,6 +7,7 @@
class CycleEffect : public Effect {
private:
Effect* effect;
uint16_t effect_id = -1;
unsigned long effectSince = 0;
public:
void changeEffect();