From 98178e6700dcfae35e4e47fa9ea51887fce0ea06 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 22 Nov 2006 02:06:00 +0000 Subject: [PATCH] GAMESTATE:GetCurrentStyleType -> GAMESTATE:GetCurrentStyle():GetStyleType --- stepmania/Themes/default/Scripts/Branches.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/Themes/default/Scripts/Branches.lua b/stepmania/Themes/default/Scripts/Branches.lua index e56040c724..2057843f36 100644 --- a/stepmania/Themes/default/Scripts/Branches.lua +++ b/stepmania/Themes/default/Scripts/Branches.lua @@ -65,8 +65,8 @@ function ScreenPlayerOptionsNext() end function GetGameplayScreen() - local st = GAMESTATE:GetCurrentStyleType() - if st == "TwoPlayersSharedSides" then return "ScreenGameplayShared" end + local st = GAMESTATE:GetCurrentStyle():GetStyleType() + if st == "StyleType_TwoPlayersSharedSides" then return "ScreenGameplayShared" end return "ScreenGameplay" end