simplify
This commit is contained in:
@@ -5,7 +5,7 @@ for _, s in ipairs(Stage) do
|
|||||||
InitCommand = cmd(playcommand,"Update"),
|
InitCommand = cmd(playcommand,"Update"),
|
||||||
CurrentSongChangedMessageCommand=cmd(playcommand,"Update"),
|
CurrentSongChangedMessageCommand=cmd(playcommand,"Update"),
|
||||||
|
|
||||||
UpdateCommand=cmd(hidden,GAMESTATE:GetCurrentStage() == s and 0 or 1)
|
UpdateCommand=cmd(visible, GAMESTATE:GetCurrentStage() == s)
|
||||||
}
|
}
|
||||||
table.insert( stages, t )
|
table.insert( stages, t )
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user