From daa4b4617c377370e6cf52db19cb14ff4d657312 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 14 Oct 2006 08:04:57 +0000 Subject: [PATCH] "0" is not a boolean. --- 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 3261474400..0ffa95f1be 100644 --- a/stepmania/Themes/default/Scripts/Branches.lua +++ b/stepmania/Themes/default/Scripts/Branches.lua @@ -102,7 +102,7 @@ function GetEvaluationNextScreen( sNextScreen, sFailedScreen, sEndScreen ) return sFailedScreen end - local sIsStage = GetTopScreenMetric( "Summary" ) == "0" and not GAMESTATE:IsCourseMode() + local sIsStage = not GetTopScreenMetric( "Summary" ) and not GAMESTATE:IsCourseMode() if sIsStage then local bHasAnotherStage = GAMESTATE:HasEarnedExtraStage() bHasAnotherStage = bHasAnotherStage or not