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:
Kyzentun
2015-01-28 08:52:52 -07:00
parent 58d3fd2b6f
commit 7443f76eab
5 changed files with 40 additions and 11 deletions
-5
View File
@@ -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()
+2 -4
View File
@@ -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