Fix hold/roll heads on non routine.

This commit is contained in:
Jason Felds
2011-08-18 01:02:02 -04:00
parent 1415d5afb0
commit 0d82640be2
+6 -2
View File
@@ -20,14 +20,18 @@ ret.Redir = function(sButton, sElement)
if sElement == "Hold Head Active" or
sElement == "Roll Head Active"
then
sElement = "Tap Note";
sElement =
(GAMESTATE:GetCurrentStyle():GetStyleType() == "StyleType_TwoPlayersSharedSides")
and "Tap Note" or "Hold Head Active";
end
-- Test
if sElement == "Hold Head Inactive" or
sElement == "Roll Head Inactive"
then
sElement = "Tap Note";
sElement =
(GAMESTATE:GetCurrentStyle():GetStyleType() == "StyleType_TwoPlayersSharedSides")
and "Tap Note" or "Hold Head Inactive";
end
if sElement == "Tap Fake"