[Themes/default] hack for SWME StageDisplay to show correct stage on Normal Mode Evaluation
This commit is contained in:
@@ -22,6 +22,13 @@ t[#t+1] = Def.ActorFrame {
|
|||||||
elseif GAMESTATE:IsEventMode() then
|
elseif GAMESTATE:IsEventMode() then
|
||||||
self:settextf("Stage %s", curStageIndex);
|
self:settextf("Stage %s", curStageIndex);
|
||||||
else
|
else
|
||||||
|
-- hack: ScreenEvaluation shows the current stage, but it needs to
|
||||||
|
-- show the last stage instead. PlayedStageStats has the right one.
|
||||||
|
if string.find(curScreen,"Evaluation") then
|
||||||
|
local stageStats = STATSMAN:GetPlayedStageStats(1)
|
||||||
|
curStage = stageStats:GetStage()
|
||||||
|
end
|
||||||
|
|
||||||
if THEME:GetMetric(curScreen,"StageDisplayUseShortString") then
|
if THEME:GetMetric(curScreen,"StageDisplayUseShortString") then
|
||||||
self:settextf("%s", ToEnumShortString(curStage));
|
self:settextf("%s", ToEnumShortString(curStage));
|
||||||
self:zoom(0.75);
|
self:zoom(0.75);
|
||||||
|
|||||||
Reference in New Issue
Block a user