diff --git a/sc2/unit.py b/sc2/unit.py index f679a2ed..bd1ec7b0 100644 --- a/sc2/unit.py +++ b/sc2/unit.py @@ -154,7 +154,7 @@ def race(self) -> Race: """Returns the race of the unit""" return Race(self._type_data._proto.race) - @property + @cached_property def tag(self) -> int: """Returns the unique tag of the unit.""" return self._proto.tag