Merge pull request #210 from carlrobert/patch-6
Call updateCapabilities() after setMayFly
This commit is contained in:
commit
0392eebf29
1 changed files with 1 additions and 0 deletions
1
src/docs/templates/ypgpm.md
vendored
1
src/docs/templates/ypgpm.md
vendored
|
@ -859,6 +859,7 @@ var utils = require('utils');
|
||||||
var players = utils.players();
|
var players = utils.players();
|
||||||
utils.foreach( players, function( player ) {
|
utils.foreach( players, function( player ) {
|
||||||
player.capabilities.setMayFly(true);
|
player.capabilities.setMayFly(true);
|
||||||
|
player.updateCapabilities();
|
||||||
} );
|
} );
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Reference in a new issue