mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Added MENU_MISSION classes and fixed bug in SCORING
-- Added class MENU_MISSION -- Added class MENU_MISSION_COMMAND -- Revised documentation of Menu -- Fixed bug in SCORING class to set the scoring menu
This commit is contained in:
@@ -70,8 +70,8 @@ end
|
||||
-- @param #SCORING self
|
||||
-- @return #SCORING self
|
||||
function SCORING:ScoreMenu()
|
||||
self.Menu = SUBMENU:New( 'Scoring' )
|
||||
self.AllScoresMenu = COMMANDMENU:New( 'Score All Active Players', self.Menu, SCORING.ReportScoreAll, self )
|
||||
self.Menu = MENU_MISSION:New( 'Scoring' )
|
||||
self.AllScoresMenu = MENU_MISSION_COMMAND:New( 'Score All Active Players', self.Menu, SCORING.ReportScoreAll, self )
|
||||
--- = COMMANDMENU:New('Your Current Score', ReportScore, SCORING.ReportScorePlayer, self )
|
||||
return self
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user