Changeset 9045 for code/branches/shipSelection/data/gui/scripts
- Timestamp:
- Mar 16, 2012, 4:54:46 PM (13 years ago)
- Location:
- code/branches/shipSelection/data/gui/scripts
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/shipSelection/data/gui/scripts/SingleplayerMenu.lua
r9039 r9045 2 2 3 3 local P = createMenuSheet("SingleplayerMenu") 4 P.loadAlong = { 4 P.loadAlong = {"ShipSelectionMenu"} 5 5 P.levelList = {} 6 6 P.activeTabIndexes = {} … … 143 143 local level = P.SingleplayerGetSelectedLevel() 144 144 if level ~= nil then 145 if level:hasTag("shipselection") then 146 showMenuSheet("ShipSelectionMenu", true) 145 146 if level:hasTag("shipselection") then 147 showMenuSheet("ShipSelectionMenu", true) 148 else 149 orxonox.execute("startGame " .. level:getXMLFilename()) 150 hideAllMenuSheets() 147 151 end 148 orxonox.execute("startGame " .. level:getXMLFilename())149 hideAllMenuSheets()150 152 end 151 153 end
Note: See TracChangeset
for help on using the changeset viewer.