Changeset 9374
- Timestamp:
- Sep 6, 2012, 4:47:26 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/release2012/data/gui/scripts/HostMenu.lua
r9373 r9374 31 31 local window = winMgr:getWindow("orxonox/MultiplayerShowAllCheckbox") 32 32 local button = tolua.cast(window,"CEGUI::Checkbox") 33 P.showAll = not P.showAll33 --P.showAll = not P.showAll 34 34 button:setSelected(P.showAll) 35 35 end … … 63 63 level = orxonox.LevelManager:getInstance():getAvailableLevelListItem(index) 64 64 if level ~= nil then 65 if P.showAll or not level:hasTag("test") ornot level:hasTag("singleplayer") then65 if P.showAll or not level:hasTag("test") and not level:hasTag("singleplayer") then 66 66 table.insert(P.levelList, level) 67 67 end
Note: See TracChangeset
for help on using the changeset viewer.