Skip to content

Conversation

@yuyangame
Copy link
Contributor

//project.json
{
...
'showFPS' : false,
...
}
//CCBoot.js
...
config[CONFIG_KEY.showFPS] = config[CONFIG_KEY.showFPS] || true;// this property will be set to true
...

```
//project.json
...
'showFPS' : false,
...
```

```
//CCBoot.js
...
config[CONFIG_KEY.showFPS] = config[CONFIG_KEY.showFPS] || true;// this property will be set to true
...
```
pandamicro added a commit that referenced this pull request Oct 28, 2015
fix cc.game.config['showFPS'] bug
@pandamicro pandamicro merged commit ee557d4 into cocos2d:develop Oct 28, 2015
@pandamicro
Copy link
Contributor

Good catch !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants