diff --git a/src/server/cloak/index.js b/src/server/cloak/index.js index 1171d6d..99b09f4 100644 --- a/src/server/cloak/index.js +++ b/src/server/cloak/index.js @@ -154,7 +154,7 @@ module.exports = (function() { room.delete(); } else { - room.pulse(); + room._pulse(); } }); diff --git a/src/server/cloak/room.js b/src/server/cloak/room.js index b82becd..28c90b1 100644 --- a/src/server/cloak/room.js +++ b/src/server/cloak/room.js @@ -22,7 +22,7 @@ module.exports = (function() { Room.prototype = { - pulse: function() { + _pulse: function() { this._emitEvent('pulse', this); },