Skip to content

Commit

Permalink
Fix null error on Evaluation with Custom Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
poco0317 committed Nov 24, 2019
1 parent 128690e commit d75dd20
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ local function GraphDisplay(pn)
end,
RecalculateGraphsMessageCommand = function(self, params)
-- called by the end of a codemessagecommand somewhere else
if not tso[params.judge] then return end
local success = SCREENMAN:GetTopScreen():SetPlayerStageStatsFromReplayData(SCREENMAN:GetTopScreen():GetStageStats():GetPlayerStageStats(PLAYER_1), tso[params.judge])
if not success then return end
self:playcommand("Begin")
Expand Down

0 comments on commit d75dd20

Please sign in to comment.