- Timestamp:
- Nov 29, 2009, 1:36:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/NewSingleplayerMenu.lua
r6150 r6176 39 39 40 40 function P.SingleplayerStartButton_clicked(e) 41 -- start game 42 debug("event: start") 41 choice = winMgr:getWindow("orxonox/SingleplayerLevelListbox"):getFirstSelectedItem() 42 if choice then 43 orxonox.LevelManager:getInstance():setDefaultLevel(choice:getText() .. ".oxw") 44 orxonox.CommandExecutor:execute("startGame") 45 hideAllGUIs() 46 debug("event: start") 47 end 43 48 end 44 49
Note: See TracChangeset
for help on using the changeset viewer.