Skip to content

Commit e4b7b5e

Browse files
committed
Some custom games have update_type=3, what is going on here?
1 parent ee3656e commit e4b7b5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sc2reader/events/game.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ def create_control_group_event(frame, pid, data):
327327
return AddToHotkeyEvent(frame, pid, data)
328328
elif update_type == 2:
329329
return GetFromHotkeyEvent(frame, pid, data)
330+
elif update_type == 3:
331+
# TODO: What could this be?!?
332+
return HotkeyEvent(frame, pid, data)
330333

331334
@loggable
332335
class HotkeyEvent(GameEvent):

0 commit comments

Comments
 (0)