Skip to content

Commit b85c24e

Browse files
committed
fix issue with strange part killstreaks
1 parent f7c0f0b commit b85c24e

File tree

5 files changed

+29634
-12
lines changed

5 files changed

+29634
-12
lines changed

src/tf2_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__title__ = "tf2-utils"
22
__author__ = "offish"
3-
__version__ = "2.1.1"
3+
__version__ = "2.1.2"
44
__license__ = "MIT"
55

66
from .sku import (

src/tf2_utils/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def is_mann_co_key(self) -> bool:
238238
return self.is_key()
239239

240240
def is_killstreak(self) -> bool:
241-
return "Killstreak" in self.name
241+
return "Killstreak" in self.name and "Killstreaks" not in self.name
242242

243243
def is_basic_killstreak(self) -> bool:
244244
return self.has_killstreak("Basic")

0 commit comments

Comments
 (0)