"0" is not a boolean.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user