diff --git a/packages/core/src/traits/informed.js b/packages/core/src/traits/informed.js index 4ff29d6..bdb04d4 100644 --- a/packages/core/src/traits/informed.js +++ b/packages/core/src/traits/informed.js @@ -53,11 +53,11 @@ export default (flecks) => { } }, - startInforming: (synchronized) => { + startInformingAbout: (synchronized) => { this.$$synchronizer.startSynchronizing(synchronized); }, - stopInforming: (synchronized) => { + stopInformingAbout: (synchronized) => { this.$$synchronizer.stopSynchronizing(synchronized); }, diff --git a/packages/universe/src/server/universe/index.js b/packages/universe/src/server/universe/index.js index 544b2bd..c51ffe1 100644 --- a/packages/universe/src/server/universe/index.js +++ b/packages/universe/src/server/universe/index.js @@ -52,13 +52,13 @@ export default class Universe { const onCurrentRoomChanged = (oldRoom, newRoom) => { if (oldRoom) { const room = this.room(oldRoom); - entity.stopInforming(room); + entity.stopInformingAbout(room); room.removeEntity(entity); } if (newRoom) { const room = this.room(newRoom); room.addEntity(entity); - entity.startInforming(room); + entity.startInformingAbout(room); } }; entity.on('currentRoomChanged', onCurrentRoomChanged);