handle rave scorekeeper

This commit is contained in:
AJ Kelly
2011-09-27 22:05:09 -05:00
parent c5e924910c
commit b755dc5b52
+4 -1
View File
@@ -51,7 +51,10 @@ end
-- ScoreKeeperClass: -- ScoreKeeperClass:
-- [en] Determines the correct ScoreKeeper class to use. -- [en] Determines the correct ScoreKeeper class to use.
function ScoreKeeperClass() function ScoreKeeperClass()
sGame = GAMESTATE:GetCurrentGame():GetName() -- rave scorekeeper
if GAMESTATE:GetPlayMode() == 'PlayMode_Rave' then return "ScoreKeeperRave" end
local sGame = GAMESTATE:GetCurrentGame():GetName()
local ScoreKeepers = { local ScoreKeepers = {
-- xxx: allow for ScoreKeeperShared when needed -- xxx: allow for ScoreKeeperShared when needed
dance = "ScoreKeeperNormal", dance = "ScoreKeeperNormal",