Skip to content

Commit c4dd5da

Browse files
committed
unit_index isnt an attribute of an event its a var
1 parent 6acc9e1 commit c4dd5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/engine/plugins/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.unit_index, Length(seconds=event.second), event.frame
326+
unit_index, Length(seconds=event.second), event.frame
327327
)
328328
)
329329

0 commit comments

Comments
 (0)