From 2239c932a4f66c294de1e85229d69c599d8f46c4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 28 May 2005 07:55:58 +0000 Subject: [PATCH] cleanup - use GAMESTATE version --- 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 21107dcd78..a321e5361c 100644 --- a/stepmania/Themes/default/Scripts/Branches.lua +++ b/stepmania/Themes/default/Scripts/Branches.lua @@ -74,7 +74,7 @@ function GetGameplayNextScreen() local Passed = not AllFailed() Trace( " Passed = "..tostring(Passed) ) Trace( " IsSyncDataChanged = "..tostring(GAMESTATE:IsSyncDataChanged()) ) - Trace( " IsCourseMode = "..tostring(IsCourseMode()) ) + Trace( " IsCourseMode = "..tostring(GAMESTATE:IsCourseMode()) ) Trace( " IsExtraStage = "..tostring(IsExtraStage()) ) Trace( " IsExtraStage2 = "..tostring(IsExtraStage2()) ) Trace( " Event mode = "..tostring(IsEventMode()) ) @@ -83,7 +83,7 @@ function GetGameplayNextScreen() return "ScreenSaveSync" end - if Passed or IsCourseMode() or + if Passed or GAMESTATE:IsCourseMode() or IsExtraStage() or IsExtraStage2() then Trace( "Go to evaluation screen" )