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
|
-- Stats
|
||||||
local stat = score["stat"]
|
local stat = score["stat"]
|
||||||
local pskin = skins[score["skin"]]
|
local pskin = score["skin"] and skins[score["skin"]]
|
||||||
if stat and not (
|
if stat and not (
|
||||||
pskin
|
pskin
|
||||||
and pskin.kartweight == stat["weight"]
|
and pskin.kartweight == stat["weight"]
|
||||||
|
Loading…
Reference in New Issue
Block a user