Merge pull request #210 from carlrobert/patch-6

Call updateCapabilities() after setMayFly
This commit is contained in:
Walter Higgins 2015-03-22 07:35:41 +00:00
commit 0392eebf29

View file

@ -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();
} ); } );
``` ```