We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc364ff commit f293b9cCopy full SHA for f293b9c
sc2reader/engine/engine.py
@@ -151,6 +151,7 @@ def run(self, replay):
151
# the front of the line for immediate processing.
152
while len(event_queue) > 0:
153
event = event_queue.popleft()
154
+ assert event.player, 'Event with no player: {}'.format(event)
155
156
if event.name == 'PluginExit':
157
# Remove the plugin and reset the handlers.
0 commit comments