When I start a new game, MENUS debugging is not enabled. But if I save the
game and load it again, MENUS debugging is enabled. That is caused by the
following code in FreeColDebugger.java : setDebugModes(), which is called
from readGame() :

        if (optionValue == null || "".equals(optionValue)) {
            enableDebugMode(DebugMode.MENUS);
            return true;
        }

This seems very strange to me - why do this?

Regards, Thue
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Freecol-developers mailing list
Freecol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to