Removed AddonMenu sorting code, since Addons are order dependend they should never...
[supertux.git] / src / supertux / game_session.cpp
index 0dd39b8..ce95ed4 100644 (file)
@@ -424,7 +424,8 @@ GameSession::update(float elapsed_time)
     on_escape_press();
   }
 
-  if(InputManager::current()->get_controller()->pressed(Controller::CHEAT_MENU))
+  if(InputManager::current()->get_controller()->pressed(Controller::CHEAT_MENU) &&
+     g_config->developer_mode)
   {
     if (!MenuManager::instance().is_active())
     {