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:
@ -7,6 +7,7 @@
|
||||
class CycleEffect : public Effect {
|
||||
private:
|
||||
Effect* effect;
|
||||
uint16_t effect_id = -1;
|
||||
unsigned long effectSince = 0;
|
||||
public:
|
||||
void changeEffect();
|
||||
|
Reference in New Issue
Block a user