GAMESTATE:GetCurrentStyleType -> GAMESTATE:GetCurrentStyle():GetStyleType
This commit is contained in:
@@ -65,8 +65,8 @@ function ScreenPlayerOptionsNext()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function GetGameplayScreen()
|
function GetGameplayScreen()
|
||||||
local st = GAMESTATE:GetCurrentStyleType()
|
local st = GAMESTATE:GetCurrentStyle():GetStyleType()
|
||||||
if st == "TwoPlayersSharedSides" then return "ScreenGameplayShared" end
|
if st == "StyleType_TwoPlayersSharedSides" then return "ScreenGameplayShared" end
|
||||||
return "ScreenGameplay"
|
return "ScreenGameplay"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user