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