Skip to content

Commit

Permalink
Fix results screen lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
Inorizushi committed Jun 26, 2024
1 parent 17fdd8e commit e9606c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions BGAnimations/ScreenEvaluationNormal decorations/default.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,11 @@ for _, pn in pairs(GAMESTATE:GetEnabledPlayers()) do
local pss = STATSMAN:GetCurStageStats():GetPlayerStageStats(pn)
local Score;

if ThemePrefs.Get("ConvertScoresAndGrades") == true then
Score = SN2Scoring.GetSN2ScoreFromHighScore(GAMESTATE:GetCurrentSteps(pn):GetDifficulty(),pss:GetScore())
else
--[[if ThemePrefs.Get("ConvertScoresAndGrades") == true then
Score = SN2Scoring.GetSN2ScoreFromHighScore(GAMESTATE:GetCurrentSteps(pn),pss:GetScore())
else]]
Score = pss:GetScore()
end
--end

local EXScore = SN2Scoring.ComputeEXScoreFromData(SN2Scoring.GetCurrentScoreData(pss));
local seconds = pss:GetSurvivalSeconds()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ local function RivalScore(pn,rival)
local scores = scorelist:GetHighScores();
local topscore=0;
if scores[rival] then
if ThemePrefs.Get("ConvertScoresAndGrades") then
--[[if ThemePrefs.Get("ConvertScoresAndGrades") then
topscore = SN2Scoring.GetSN2ScoreFromHighScore(StepsOrTrail, scores[rival]:GetScore())
else
else]]
topscore = scores[rival]:GetScore();
end
--end
end;
assert(topscore);
if topscore ~= 0 then
Expand Down Expand Up @@ -142,11 +142,11 @@ local function RivalScore(pn,rival)
assert(scores);
local topscore=0;
if scores[rival] then
if ThemePrefs.Get("ConvertScoresAndGrades") then
--[[if ThemePrefs.Get("ConvertScoresAndGrades") then
topscore = SN2Scoring.GetSN2ScoreFromHighScore(StepsOrTrail, scores[rival]:GetScore())
else
else]]
topscore = scores[rival]:GetScore();
end
--end
end;
assert(topscore);
local topgrade;
Expand Down

0 comments on commit e9606c1

Please sign in to comment.