GAMESTATE:GetCurrentStyleType -> GAMESTATE:GetCurrentStyle():GetStyleType

This commit is contained in:
Glenn Maynard
2006-11-22 02:06:00 +00:00
parent 476c34b3fe
commit 98178e6700
@@ -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