attempt to curb scoring issues by only triggering JudgmentMessageCommand if TapNoteScore is valid
This commit is contained in:
@@ -3,8 +3,13 @@ local t = Def.ActorFrame {};
|
|||||||
if( not GAMESTATE:IsCourseMode() ) then
|
if( not GAMESTATE:IsCourseMode() ) then
|
||||||
t[#t+1] = Def.Actor{
|
t[#t+1] = Def.Actor{
|
||||||
JudgmentMessageCommand = function(self, params)
|
JudgmentMessageCommand = function(self, params)
|
||||||
Scoring[GetUserPref("UserPrefScoringMode")](params,
|
if params.TapNoteScore and
|
||||||
STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player))
|
params.TapNoteScore ~= 'TapNoteScore_Invalid' and
|
||||||
|
params.TapNoteScore ~= 'TapNoteScore_None'
|
||||||
|
then
|
||||||
|
Scoring[GetUserPref("UserPrefScoringMode")](params,
|
||||||
|
STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player))
|
||||||
|
end
|
||||||
end;
|
end;
|
||||||
};
|
};
|
||||||
end;
|
end;
|
||||||
|
|||||||
@@ -204,8 +204,13 @@ t[#t+1] = Def.ActorFrame {
|
|||||||
if( not GAMESTATE:IsCourseMode() ) then
|
if( not GAMESTATE:IsCourseMode() ) then
|
||||||
t[#t+1] = Def.Actor{
|
t[#t+1] = Def.Actor{
|
||||||
JudgmentMessageCommand = function(self, params)
|
JudgmentMessageCommand = function(self, params)
|
||||||
Scoring[GetUserPref("UserPrefScoringMode")](params,
|
if params.TapNoteScore and
|
||||||
STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player))
|
params.TapNoteScore ~= 'TapNoteScore_Invalid' and
|
||||||
|
params.TapNoteScore ~= 'TapNoteScore_None'
|
||||||
|
then
|
||||||
|
Scoring[GetUserPref("UserPrefScoringMode")](params,
|
||||||
|
STATSMAN:GetCurStageStats():GetPlayerStageStats(params.Player))
|
||||||
|
end
|
||||||
end;
|
end;
|
||||||
};
|
};
|
||||||
end;
|
end;
|
||||||
|
|||||||
Reference in New Issue
Block a user