From b5665afe2afeb44b09401907359d8f857d68eb29 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Mon, 24 Jul 2006 01:06:18 +0000 Subject: [PATCH] Fix typo. Add JudgmentTransformSharedCommand. --- stepmania/Themes/default/Scripts/Other.lua | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/stepmania/Themes/default/Scripts/Other.lua b/stepmania/Themes/default/Scripts/Other.lua index aef0647160..5ce672c736 100644 --- a/stepmania/Themes/default/Scripts/Other.lua +++ b/stepmania/Themes/default/Scripts/Other.lua @@ -8,11 +8,21 @@ function FormatNumSongsPlayed( num ) return s end -function JudgmentTransformCommand( self, pn, mp, iEnabledPlayerIndex, iNumEnabledPlayers, bUsingBothSides, bReverse, bCenetered ) +function JudgmentTransformCommand( self, pn, mp, iEnabledPlayerIndex, iNumEnabledPlayers, bUsingBothSides, bReverse, bCentered ) local x = 0 local y = -30 if bReverse then y = y * -1 end - if bCentered then y = y * 2 end + -- This makes no sense and wasn't even being used due to misspelling. + -- if bCentered then y = y * 2 end + self:x( x ) + self:y( y ) +end + +function JudgmentTransformSharedCommand( self, pn, mp, iEnabledPlayerIndex, iNumEnabledPlayers, bUsingBothSides, bReverse, bCentered ) + local x = -120 + local y = -30 + if bReverse then y = -30 end + if pn == 1 then x = 120 end self:x( x ) self:y( y ) end