From 72dd8af23996d43148a95f52a974374161ba1655 Mon Sep 17 00:00:00 2001 From: WEBXOSS Date: Wed, 23 Aug 2017 22:18:29 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20colorless?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Player.js | 2 +- RoomManager.js | 2 +- webxoss-client | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Player.js b/Player.js index d8db52d..bce53ec 100644 --- a/Player.js +++ b/Player.js @@ -1554,7 +1554,7 @@ Player.prototype.encodeCost = function (cost, withoutFilter) { if (!withoutFilter) { requirements.forEach(function (item) { item.filter = function (int) { - return !int || (int & item.mask) + return !item.mask || (int & item.mask) } }) } diff --git a/RoomManager.js b/RoomManager.js index c25139e..30e5fae 100644 --- a/RoomManager.js +++ b/RoomManager.js @@ -1,7 +1,7 @@ 'use strict'; function RoomManager (cfg) { - this.VERSION = 70; + this.VERSION = 71; this.MAX_ROOMS = cfg.MAX_ROOMS; this.MAX_CLIENTS = cfg.MAX_CLIENTS; diff --git a/webxoss-client b/webxoss-client index d37b13a..2b7f09c 160000 --- a/webxoss-client +++ b/webxoss-client @@ -1 +1 @@ -Subproject commit d37b13ab9857a79ca0da757859ce727acaf8041f +Subproject commit 2b7f09c6e2084979736a72e2ef1325078a84f496