Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 16, 2012, 3:33:05 PM (13 years ago)
Author:
huttemat
Message:

Added ShipSelectionMenu.layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/shipSelection/data/gui/scripts/SingleplayerMenu.lua

    r9016 r9039  
    22
    33local P = createMenuSheet("SingleplayerMenu")
    4 
     4P.loadAlong = { "ShipSelectionMenu"}
    55P.levelList = {}
    66P.activeTabIndexes = {}
     
    143143    local level = P.SingleplayerGetSelectedLevel()
    144144    if level ~= nil then
     145        if level:hasTag("shipselection") then
     146            showMenuSheet("ShipSelectionMenu", true)
     147        end
    145148        orxonox.execute("startGame " .. level:getXMLFilename())
    146149        hideAllMenuSheets()
Note: See TracChangeset for help on using the changeset viewer.