From 34e1bf4b557497d2af9cc3b15f29516fca3146ce Mon Sep 17 00:00:00 2001 From: "Ben \"root\" Anderson" Date: Fri, 27 Dec 2013 19:57:37 -0600 Subject: [PATCH] Boolean operators do not work that way. --- Themes/_fallback/Scripts/02 Utilities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themes/_fallback/Scripts/02 Utilities.lua b/Themes/_fallback/Scripts/02 Utilities.lua index d7d5a40605..aa99ec0767 100644 --- a/Themes/_fallback/Scripts/02 Utilities.lua +++ b/Themes/_fallback/Scripts/02 Utilities.lua @@ -219,7 +219,7 @@ end function Center1Player() local styleType = GAMESTATE:GetCurrentStyle():GetStyleType() -- always center in OnePlayerTwoSides ( Doubles ) or TwoPlayersSharedSides ( Couples ) - if styleType == "StyleType_OnePlayerTwoSides" or "StyleType_TwoPlayersSharedSides" then + if styleType == "StyleType_OnePlayerTwoSides" or styleType == "StyleType_TwoPlayersSharedSides" then return true -- only Center1P if Pref enabled and OnePlayerOneSide. -- (implicitly excludes Rave, Battle, Versus, Routine)