use ST_SEP when resetting ScoreTabe

This commit is contained in:
Not 2023-10-11 18:47:18 +02:00
parent d9df5d6940
commit 85e49ecd73

View File

@ -1212,7 +1212,7 @@ local function saveTime(player)
MapRecords = GetMapRecords(gamemap, mapChecksum(gamemap), ST_SEP)
-- Set the updated ScoreTable
ScoreTable = MapRecords[Flags]
ScoreTable = MapRecords[ST_SEP & Flags]
for i, score in ipairs(ScoreTable) do
if score.name != player.name then continue end