[Orxonox-commit 170] r2054 - media/gui/scripts

rgrieder at orxonox.net rgrieder at orxonox.net
Wed Mar 25 22:42:31 CET 2009


Author: rgrieder
Date: 2009-03-25 21:42:30 +0000 (Wed, 25 Mar 2009)
New Revision: 2054

Modified:
   media/gui/scripts/mainmenu.lua
Log:
Updating commands for the gui branch.

Modified: media/gui/scripts/mainmenu.lua
===================================================================
--- media/gui/scripts/mainmenu.lua	2009-03-25 14:17:07 UTC (rev 2053)
+++ media/gui/scripts/mainmenu.lua	2009-03-25 21:42:30 UTC (rev 2054)
@@ -7,21 +7,21 @@
 end
 
 function button_standalone_clicked(e)
-  orxonox.CommandExecutor:execute("selectGameState standalone")
+  orxonox.CommandExecutor:execute("startGame")
   toggleGUI()
 end
 
 function button_server_clicked(e)
-  orxonox.CommandExecutor:execute("selectGameState server")
+  orxonox.CommandExecutor:execute("echo Not yet supported!")
   hideGUI()
 end
 
 function button_dedicated_clicked(e)
-  orxonox.CommandExecutor:execute("selectGameState dedicated")
+  orxonox.CommandExecutor:execute("echo Not yet supported!")
   hideGUI()
 end
 
 function button_client_clicked(e)
-  orxonox.CommandExecutor:execute("selectGameState client")
+  orxonox.CommandExecutor:execute("echo Not yet supported!")
   hideGUI()
 end




More information about the Orxonox-commit mailing list