From 5ee56942b9d5def9e999f3d75c29264f1f080b1f Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Thu, 29 Sep 2011 00:31:29 -0500 Subject: [PATCH] unbotchamania 03 gameplay.lua --- Themes/_fallback/Scripts/03 Gameplay.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Themes/_fallback/Scripts/03 Gameplay.lua b/Themes/_fallback/Scripts/03 Gameplay.lua index ce5bce7a1a..1d8ac4ecfc 100644 --- a/Themes/_fallback/Scripts/03 Gameplay.lua +++ b/Themes/_fallback/Scripts/03 Gameplay.lua @@ -53,8 +53,10 @@ end function ScoreKeeperClass() -- rave scorekeeper if GAMESTATE:GetPlayMode() == 'PlayMode_Rave' then return "ScoreKeeperRave" end - local styleType = GAMESTATE:GetCurrentStyle():GetStyleType() - if styleType == 'StyleType_TwoPlayersSharedSides' then return "ScoreKeeperShared" end + if GAMESTATE:GetCurrentStyle() then + local styleType = GAMESTATE:GetCurrentStyle():GetStyleType() + if styleType == 'StyleType_TwoPlayersSharedSides' then return "ScoreKeeperShared" end + end return "ScoreKeeperNormal" end