diff -r c5f18710a184 -r b4089fa16b34 share/hedgewars/Data/Scripts/Utils.lua --- a/share/hedgewars/Data/Scripts/Utils.lua Mon Jan 14 21:19:57 2019 +0100 +++ b/share/hedgewars/Data/Scripts/Utils.lua Mon Jan 14 23:30:15 2019 +0100 @@ -44,6 +44,8 @@ return string.format(loc("Team highscore: %d"), value) elseif recordType == "Lowscore" then return string.format(loc("Team lowscore: %d"), value) + elseif recordType == "AccuracyRecord" then + return string.format(loc("Team's top accuracy: %d%"), value) end end @@ -60,7 +62,7 @@ local oldRecord = tonumber(GetMissionVar(recordType)) local newRecord = false if stat == nil then - stat = true + stat = recordType ~= "AccuracyRecord" end if type(oldRecord) ~= "number" then newRecord = true