Skip to content

Commit

Permalink
use WifeGrades for grade related score lua stuffs
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Aug 22, 2020
1 parent cb2069f commit 0c60dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Themes/Til Death/Scripts/ClearType.lua
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ function getClearTypeFromScore(pn, score, ret)
end
if score ~= nil and song ~= nil and steps ~= nil then
playCount = profile:GetSongNumTimesPlayed(song)
grade = score:GetGrade()
grade = score:GetWifeGrade()
perfcount = score:GetTapNoteScore("TapNoteScore_W2")
greatcount = score:GetTapNoteScore("TapNoteScore_W3")
misscount =
Expand Down
2 changes: 1 addition & 1 deletion Themes/_fallback/Scripts/10 Scores.lua
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ end

function getScoreGrade(score)
if score ~= nil then
return score:GetGrade()
return score:GetWifeGrade()
else
return "Grade_None"
end
Expand Down

0 comments on commit 0c60dc9

Please sign in to comment.