Polish installer translation from Jarosław Pietras. Removed duplicate IsRoutine function from Branches.lua. Fixed beat noteskin receptor to not set zero delay. Minor change to default's danger underlay to pass the pn when fetching style.
This commit is contained in:
@@ -34,11 +34,6 @@ function GameOverOrContinue()
|
||||
end
|
||||
end
|
||||
|
||||
-- functions used for Routine mode
|
||||
function IsRoutine()
|
||||
return GAMESTATE:GetCurrentStyle() and GAMESTATE:GetCurrentStyle():GetStyleType() == "StyleType_TwoPlayersSharedSides"
|
||||
end
|
||||
|
||||
Branch = {
|
||||
Init = function() return "ScreenInit" end,
|
||||
AfterInit = function()
|
||||
|
||||
@@ -214,12 +214,10 @@ function Center1Player()
|
||||
end
|
||||
|
||||
function IsRoutine()
|
||||
local styleType = GAMESTATE:GetCurrentStyle():GetStyleType()
|
||||
|
||||
if styleType == "StyleType_TwoPlayersSharedSides" then
|
||||
local style= GAMESTATE:GetCurrentStyle()
|
||||
if style and style:GetStyleType() == "StyleType_TwoPlayersSharedSides" then
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user