diff --git a/direct/src/showbase/BulletinBoard.py b/direct/src/showbase/BulletinBoard.py index 036e06fed7..d2ace45e33 100755 --- a/direct/src/showbase/BulletinBoard.py +++ b/direct/src/showbase/BulletinBoard.py @@ -16,7 +16,7 @@ class BulletinBoard: def has(self, postName): return postName in self._dict - def getEventName(self, postName): + def getEvent(self, postName): return 'bboard-%s' % postName def post(self, postName, value=None): @@ -30,7 +30,7 @@ class BulletinBoard: if postName in self._dict: BulletinBoard.notify.info('update: posting %s' % (postName)) self._dict[postName] = value - messenger.send(self.getEventName(postName)) + messenger.send(self.getEvent(postName)) def remove(self, postName): if postName in self._dict: diff --git a/direct/src/showbase/BulletinBoardWatcher.py b/direct/src/showbase/BulletinBoardWatcher.py index ee71d9fd06..5d7933a1dd 100755 --- a/direct/src/showbase/BulletinBoardWatcher.py +++ b/direct/src/showbase/BulletinBoardWatcher.py @@ -18,7 +18,7 @@ class BulletinBoardWatcher(DirectObject.DirectObject): self.waitingOn = {} for name in postNames: if not bboard.has(name): - eventName = bboard.getEventName(name) + eventName = bboard.getEvent(name) self.acceptOnce(eventName, Functor(self.handlePost, eventName)) self.waitingOn[eventName] = None self.checkDone()