Skip to content

Commit

Permalink
fix issue with strange part killstreaks
Browse files Browse the repository at this point in the history
  • Loading branch information
offish committed Mar 13, 2024
1 parent f7c0f0b commit b85c24e
Show file tree
Hide file tree
Showing 5 changed files with 29,634 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/tf2_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__title__ = "tf2-utils"
__author__ = "offish"
__version__ = "2.1.1"
__version__ = "2.1.2"
__license__ = "MIT"

from .sku import (
Expand Down
2 changes: 1 addition & 1 deletion src/tf2_utils/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def is_mann_co_key(self) -> bool:
return self.is_key()

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

def is_basic_killstreak(self) -> bool:
return self.has_killstreak("Basic")
Expand Down
Loading

0 comments on commit b85c24e

Please sign in to comment.