fix nil skin

This commit is contained in:
Not 2022-04-19 11:36:31 +02:00
parent a1989d319b
commit 45b785c654
1 changed files with 1 additions and 1 deletions

View File

@ -779,7 +779,7 @@ local function drawScore(v, player, pos, x, y, gui, faceRank, score, drawPos, te
-- Stats
local stat = score["stat"]
local pskin = skins[score["skin"]]
local pskin = score["skin"] and skins[score["skin"]]
if stat and not (
pskin
and pskin.kartweight == stat["weight"]