Changeset 6754 for code/trunk
- Timestamp:
- Apr 19, 2010, 2:34:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/gui/scripts/SingleplayerMenu.lua
r6750 r6754 30 30 31 31 function P.SingleplayerStartButton_clicked(e) 32 local choice = winMgr:getWindow("orxonox/SingleplayerLevelListbox"):getFirstSelectedItem()32 local choice = CEGUI.toListbox(winMgr:getWindow("orxonox/SingleplayerLevelListbox")):getFirstSelectedItem() 33 33 if choice then 34 34 orxonox.LevelManager:getInstance():setDefaultLevel(choice:getText() .. ".oxw")
Note: See TracChangeset
for help on using the changeset viewer.