File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,6 @@ def run(self, replay):
151
151
# the front of the line for immediate processing.
152
152
while len (event_queue ) > 0 :
153
153
event = event_queue .popleft ()
154
- assert event .player , 'Event with no player: {}' .format (event )
155
154
156
155
if event .name == 'PluginExit' :
157
156
# Remove the plugin and reset the handlers.
@@ -172,6 +171,7 @@ def run(self, replay):
172
171
# which get processed after the current event finishes. The new_events
173
172
# batch is constructed in reverse order because extendleft reverses
174
173
# the order again with a series of appendlefts.
174
+ assert event .player , 'Event with no player: {}' .format (event )
175
175
new_events = collections .deque ()
176
176
for event_handler in event_handlers :
177
177
try :
You can’t perform that action at this time.
0 commit comments