Skip to content

Commit 68f8096

Browse files
committed
Revert "Add unit.get_race method for forward compatibility."
This reverts commit 88cf357.
1 parent 88cf357 commit 68f8096

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sc2reader/data/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,6 @@ def __init__(self, unit_id, flags):
272272
self.hallucinated = (flags & 2 == 2)
273273
self._cmp_val = (self.id << 16) | self.type
274274

275-
def get_race(self):
276-
return self.race
277-
278275
def __str__(self):
279276
return "{0} [{1:X}]".format(self.name, self.id)
280277

0 commit comments

Comments
 (0)