use boolean type, don't return string
This commit is contained in:
@@ -99,8 +99,8 @@ function GetGameplayNextScreen()
|
||||
end
|
||||
|
||||
function OptionsMenuAvailable()
|
||||
if GAMESTATE:IsExtraStage() or GAMESTATE:IsExtraStage2() then return "0" end
|
||||
return "1"
|
||||
if GAMESTATE:IsExtraStage() or GAMESTATE:IsExtraStage2() then return false end
|
||||
return true
|
||||
end
|
||||
|
||||
-- (c) 2005 Glenn Maynard, Chris Danford
|
||||
|
||||
@@ -675,7 +675,7 @@ NextOptionsScreen=@SelectFirstOptionsScreen()
|
||||
DoRouletteOnMenuTimer=1
|
||||
AlignMusicBeat=0
|
||||
Codes=
|
||||
OptionsMenuAvailable=@OptionsMenuAvailable()
|
||||
OptionsMenuAvailable=OptionsMenuAvailable()
|
||||
|
||||
[ScreenSelectCourse]
|
||||
Class=ScreenSelectMusic
|
||||
|
||||
Reference in New Issue
Block a user