forked from Not/srb2k-leaderboard
fix nil skin
This commit is contained in:
parent
a1989d319b
commit
45b785c654
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user