Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8041


Ignore:
Timestamp:
Mar 7, 2011, 9:58:46 AM (14 years ago)
Author:
dafrick
Message:

Small detaiil…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/usability/data/gui/scripts/HostMenu.lua

    r8040 r8041  
    2929function P.onShow()
    3030    if P.showAll ~= orxonox.GUIManager:inDevMode() then
    31         local window = winMgr:getWindow("orxonox/SingleplayerShowAllCheckbox")
    32         local button = tolua.cast(window,"CEGUI::Checkbox")
    33         P.showAll = not P.showAll
    34         button:setSelected(P.showAll)
    35         P.createLevelList()
    36     end
    37 end
    38 
    39 function P.onShow()
    40     if P.showAll ~= orxonox.GUIManager:inDevMode() then
    41         local window = winMgr:getWindow("orxonox/SingleplayerShowAllCheckbox")
     31        local window = winMgr:getWindow("orxonox/MultiplayerShowAllCheckbox")
    4232        local button = tolua.cast(window,"CEGUI::Checkbox")
    4333        P.showAll = not P.showAll
Note: See TracChangeset for help on using the changeset viewer.