Skip to content

Commit 3975fe7

Browse files
committed
Remove event.time since it is hardly (ever?) used.
People who want it can do it themselves easy enough.
1 parent bd53f9e commit 3975fe7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sc2reader/events.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ def __init__(self, frame, pid):
1212
self.pid = pid
1313
self.frame = frame
1414
self.second = frame >> 4
15-
self.time = Length(seconds=self.second)
15+
# This is sorta expensive considering no one uses it
16+
# self.time = Length(seconds=self.second)
1617

1718
def load_context(self, replay):
1819
if self.pid != 16:

0 commit comments

Comments
 (0)