[Orxonox-commit 3353] r8041 - code/branches/usability/data/gui/scripts
dafrick at orxonox.net
dafrick at orxonox.net
Mon Mar 7 09:58:47 CET 2011
Author: dafrick
Date: 2011-03-07 09:58:46 +0100 (Mon, 07 Mar 2011)
New Revision: 8041
Modified:
code/branches/usability/data/gui/scripts/HostMenu.lua
Log:
Small detaiil...
Modified: code/branches/usability/data/gui/scripts/HostMenu.lua
===================================================================
--- code/branches/usability/data/gui/scripts/HostMenu.lua 2011-03-07 08:57:13 UTC (rev 8040)
+++ code/branches/usability/data/gui/scripts/HostMenu.lua 2011-03-07 08:58:46 UTC (rev 8041)
@@ -28,22 +28,12 @@
function P.onShow()
if P.showAll ~= orxonox.GUIManager:inDevMode() then
- local window = winMgr:getWindow("orxonox/SingleplayerShowAllCheckbox")
+ local window = winMgr:getWindow("orxonox/MultiplayerShowAllCheckbox")
local button = tolua.cast(window,"CEGUI::Checkbox")
P.showAll = not P.showAll
button:setSelected(P.showAll)
- P.createLevelList()
end
-end
-function P.onShow()
- if P.showAll ~= orxonox.GUIManager:inDevMode() then
- local window = winMgr:getWindow("orxonox/SingleplayerShowAllCheckbox")
- local button = tolua.cast(window,"CEGUI::Checkbox")
- P.showAll = not P.showAll
- button:setSelected(P.showAll)
- end
-
if P.multiplayerMode == "startServer" then
local window = winMgr:getWindow("orxonox/HostMenuHostButton")
local button = tolua.cast(window,"CEGUI::RadioButton")
More information about the Orxonox-commit
mailing list