From ee2d17a64ffa7f834460b3b21ca15726e94a831f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 5 Oct 2006 23:10:00 +0000 Subject: [PATCH] fix loop --- stepmania/Themes/default/Scripts/Branches.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/Themes/default/Scripts/Branches.lua b/stepmania/Themes/default/Scripts/Branches.lua index 20e7c0f5f9..4a1d3f68d0 100644 --- a/stepmania/Themes/default/Scripts/Branches.lua +++ b/stepmania/Themes/default/Scripts/Branches.lua @@ -183,7 +183,7 @@ local function ShowScreenInstructions() return true end - for pn = PLAYER_1,NUM_PLAYERS-1 do + for _,pn in ipairs(PlayerNumber) do if DifficultyIndex[GAMESTATE:GetPreferredDifficulty(pn)] <= DifficultyIndex["Difficulty_Easy"] then return true end