Skip to content

Commit 214cd7c

Browse files
author
Emmanuel Hadoux
committed
Fixes SelectionTracker plugin with new handler names.
1 parent d275182 commit 214cd7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sc2reader/engine/plugins/selection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ def handleSelectionEvent(self, event, replay):
4040
if error:
4141
event.player.selection_errors += 1
4242

43-
def handleGetFromHotkeyEvent(self, event, replay):
43+
def handleGetControlGroupEvent(self, event, replay):
4444
selection = event.player.selection[event.control_group]
4545
new_selection, error = self._deselect(selection, event.mask_type, event.mask_data)
4646
event.player.selection[10] = new_selection
4747
if error:
4848
event.player.selection_errors += 1
4949

50-
def handleSetToHotkeyEvent(self, event, replay):
50+
def handleSetControlGroupEvent(self, event, replay):
5151
event.player.selection[event.control_group] = event.player.selection[10]
5252

53-
def handleAddToHotkeyEvent(self, event, replay):
53+
def handleAddToControlGroupEvent(self, event, replay):
5454
selection = event.player.selection[event.control_group]
5555
new_selection, error = self._deselect(selection, event.mask_type, event.mask_data)
5656
new_selection = self._select(new_selection, event.player.selection[10])

0 commit comments

Comments
 (0)