We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5819dea + 76086e9 commit ee557d4Copy full SHA for ee557d4
CCBoot.js
@@ -2374,7 +2374,7 @@ cc.game = /** @lends cc.game# */{
2374
modules = config[CONFIG_KEY.modules];
2375
2376
// Configs adjustment
2377
- config[CONFIG_KEY.showFPS] = config[CONFIG_KEY.showFPS] || true;
+ config[CONFIG_KEY.showFPS] = typeof config[CONFIG_KEY.showFPS] === 'undefined' ? true : config[CONFIG_KEY.showFPS];
2378
config[CONFIG_KEY.engineDir] = config[CONFIG_KEY.engineDir] || "frameworks/cocos2d-html5";
2379
if (config[CONFIG_KEY.debugMode] == null)
2380
config[CONFIG_KEY.debugMode] = 0;
0 commit comments