fix Ds showing up for non-played songs
This commit is contained in:
@@ -9,12 +9,13 @@ local grades = {
|
|||||||
Grade_Tier06 = 5;
|
Grade_Tier06 = 5;
|
||||||
Grade_Tier07 = 6;
|
Grade_Tier07 = 6;
|
||||||
Grade_Failed = 7;
|
Grade_Failed = 7;
|
||||||
|
Grade_None = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
local t = LoadActor( "grades" ) .. {
|
local t = LoadActor( "grades" ) .. {
|
||||||
InitCommand=cmd(pause);
|
InitCommand=cmd(pause);
|
||||||
SetGradeCommand=function(self, params)
|
SetGradeCommand=function(self, params)
|
||||||
local state = grades[params.Grade] or grades.Grade_Tier07;
|
local state = grades[params.Grade] or grades.Grade_None;
|
||||||
state = state*2;
|
state = state*2;
|
||||||
|
|
||||||
if params.PlayerNumber == PLAYER_2 then
|
if params.PlayerNumber == PLAYER_2 then
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 8.1 KiB |
Reference in New Issue
Block a user