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