Skip to content

Commit 7468cee

Browse files
committed
Updated effects plugin version
1 parent 0e678de commit 7468cee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openrgb/plugins/effects.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def unpack(cls, data: Iterator[int], version: int, *args) -> Effect:
3131

3232

3333
class EffectsPlugin(ORGBPlugin):
34-
version = 1
34+
version = 2
3535
pkt_type_enum = EffectPacketType
3636

3737
def __init__(self, *args, **kwargs):
@@ -43,6 +43,8 @@ def update(self):
4343
self.comms.read()
4444

4545
def recv(self, pkt_id: EffectPacketType, data: Iterator[int]): # type: ignore
46+
for _ in range(4):
47+
next(data)
4648
if pkt_id == EffectPacketType.REQUEST_EFFECT_LIST:
4749
self.effects = utils.parse_list(Effect, data, self.version)
4850

0 commit comments

Comments
 (0)