From 508e61131b3cd6a2da0d80ae3393c53f3233f744 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 25 Apr 2007 03:52:14 +0000 Subject: [PATCH] update --- stepmania/Themes/default/Scripts/Branches.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/Themes/default/Scripts/Branches.lua b/stepmania/Themes/default/Scripts/Branches.lua index 41c74b03d9..7738d499bc 100644 --- a/stepmania/Themes/default/Scripts/Branches.lua +++ b/stepmania/Themes/default/Scripts/Branches.lua @@ -108,8 +108,8 @@ local function GetEvaluationNextScreenInternal( sNextScreen, sFailedScreen, sEnd local sIsStage = not GetTopScreenMetric( "Summary" ) and not GAMESTATE:IsCourseMode() if sIsStage then - local bHasAnotherStage = not bIsExtraStage or GAMESTATE:HasEarnedExtraStage() - if bHasAnotherStage then + local bLastStage = GAMESTATE:GetSmallestNumStagesLeftForAnyHumanPlayer() <= 0 + if not bLastStage then Trace( "Another" ) return sNextScreen end