🐛 fix colorless

This commit is contained in:
WEBXOSS 2017-08-23 22:18:29 +08:00
parent f2125cdd14
commit 72dd8af239
3 changed files with 3 additions and 3 deletions

View file

@ -1554,7 +1554,7 @@ Player.prototype.encodeCost = function (cost, withoutFilter) {
if (!withoutFilter) { if (!withoutFilter) {
requirements.forEach(function (item) { requirements.forEach(function (item) {
item.filter = function (int) { item.filter = function (int) {
return !int || (int & item.mask) return !item.mask || (int & item.mask)
} }
}) })
} }

View file

@ -1,7 +1,7 @@
'use strict'; 'use strict';
function RoomManager (cfg) { function RoomManager (cfg) {
this.VERSION = 70; this.VERSION = 71;
this.MAX_ROOMS = cfg.MAX_ROOMS; this.MAX_ROOMS = cfg.MAX_ROOMS;
this.MAX_CLIENTS = cfg.MAX_CLIENTS; this.MAX_CLIENTS = cfg.MAX_CLIENTS;

@ -1 +1 @@
Subproject commit d37b13ab9857a79ca0da757859ce727acaf8041f Subproject commit 2b7f09c6e2084979736a72e2ef1325078a84f496