Skip to content

Commit 6acc9e1

Browse files
committed
adjust attribute to reflect whats being checked
1 parent c17bd35 commit 6acc9e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sc2reader/engine/plugins/context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def handleUnitDoneEvent(self, event, replay):
307307
else:
308308
self.logger.error(
309309
"Unit {} done at {} [{}] before it was started!".format(
310-
event.killer_pid, Length(seconds=event.second), event.frame
310+
event.unit_id, Length(seconds=event.second), event.frame
311311
)
312312
)
313313

@@ -323,7 +323,7 @@ def handleUnitPositionsEvent(self, event, replay):
323323
else:
324324
self.logger.error(
325325
"Unit at active_unit index {} moved at {} [{}] but it doesn't exist!".format(
326-
event.killer_pid, Length(seconds=event.second), event.frame
326+
event.unit_index, Length(seconds=event.second), event.frame
327327
)
328328
)
329329

0 commit comments

Comments
 (0)