forked from Not/srb2k-leaderboard
map identity by checksum
This commit is contained in:
@ -36,7 +36,7 @@ def CompareScore(a, b):
|
||||
|
||||
F_SEP = 0xF
|
||||
def SameScore(a, b):
|
||||
return a["name"] == b["name"] and (a["flags"] & F_SEP) == (b["flags"] & F_SEP)
|
||||
return a["name"] == b["name"] and a["checksum"] == b["checksum"] and (a["flags"] & F_SEP) == (b["flags"] & F_SEP)
|
||||
|
||||
def LoadRecordsFromFile(path):
|
||||
records = []
|
||||
|
Reference in New Issue
Block a user