From 5405b4968cfd226c13f881b8c43d38ff82ef89b1 Mon Sep 17 00:00:00 2001 From: dan63047 Date: Sat, 14 Oct 2023 01:53:33 +0300 Subject: [PATCH] fix [BUG] TL matches duplicate entries #35 --- lib/data_objects/tetrio.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/data_objects/tetrio.dart b/lib/data_objects/tetrio.dart index ae5e0ee..f8c5104 100644 --- a/lib/data_objects/tetrio.dart +++ b/lib/data_objects/tetrio.dart @@ -750,7 +750,7 @@ class TetraLeagueAlphaRecord{ } @override - bool operator ==(covariant TetraLeagueAlphaRecord other) => ownId == other.ownId; + bool operator ==(covariant TetraLeagueAlphaRecord other) => (ownId == other.ownId) || (replayId == other.replayId); @override String toString() {