diff --git a/TwitchDownloaderCore/TwitchObjects/ChatRootInfo.cs b/TwitchDownloaderCore/TwitchObjects/ChatRootInfo.cs index 6eb27389..1cd81bd0 100644 --- a/TwitchDownloaderCore/TwitchObjects/ChatRootInfo.cs +++ b/TwitchDownloaderCore/TwitchObjects/ChatRootInfo.cs @@ -41,7 +41,7 @@ public override string ToString() => $"{Major}.{Minor}.{Patch}"; public override int GetHashCode() - => ToString().GetHashCode(); + => HashCode.Combine(Major, Minor, Patch); public static bool operator >(ChatRootVersion left, ChatRootVersion right) {