diff --git a/scripts/result.lua b/scripts/result.lua index 5fd5304..1b2eaf9 100644 --- a/scripts/result.lua +++ b/scripts/result.lua @@ -275,9 +275,9 @@ local drawRightPanel = function() gfx.Text("LABEL", 1080 - 515, rightPanelY - 130); gfx.FillColor(255,255,255,255) -- my score - gfx.Text("00000000", 1080 - 485, rightPanelY - 98); + gfx.Text(result.score, 1080 - 485, rightPanelY - 98); -- best score - gfx.Text("10000000", 1080 - 325, rightPanelY - 98); + gfx.Text(result.highScores, 1080 - 325, rightPanelY - 98); gfx.Text("IR LABEL", 1080 - 205, rightPanelY - 98); -- my Score and something gfx.BeginPath(); @@ -286,9 +286,9 @@ local drawRightPanel = function() gfx.Text("LABEL", 1080 - 515, rightPanelY - 60); gfx.FillColor(255,255,255,255) -- my score - gfx.Text("00000000", 1080 - 485, rightPanelY - 28); + gfx.Text(result.score, 1080 - 485, rightPanelY - 28); -- best score - gfx.Text("10000000", 1080 - 325, rightPanelY - 28); + gfx.Text(result.highScores, 1080 - 325, rightPanelY - 28); gfx.Text("IR LABEL", 1080 - 205, rightPanelY - 28); end