"0" is not a boolean.

This commit is contained in:
Steve Checkoway
2006-10-14 08:04:57 +00:00
parent 4195f10b80
commit daa4b4617c
@@ -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