add ModeMenuAvailable

This commit is contained in:
Glenn Maynard
2005-04-27 04:26:06 +00:00
parent cad746ae8c
commit 2cac14ae37
@@ -103,6 +103,14 @@ function OptionsMenuAvailable()
return true
end
function ModeMenuAvailable()
local PickExtraStage = PREFSMAN:GetPreference( "PickExtraStage" )
if (GAMESTATE:IsExtraStage() and not PickExtraStage) or GAMESTATE:IsExtraStage2() then
return false
end
return true
end
-- (c) 2005 Glenn Maynard, Chris Danford
-- All rights reserved.
--