From 967d28350750241dbcc8a3f391e2e1b59e0b1822 Mon Sep 17 00:00:00 2001 From: delizin Date: Fri, 31 Jan 2014 13:32:33 -0500 Subject: [PATCH] Update objects.py Removed the following line from at_pre_puppet, because it is repeated in at_post_puppet and results in the message "%s has entered the game" appearing twice. self.location.msg_contents("%s has entered the game." % self.name, exclude=[self]) --- src/objects/objects.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/objects/objects.py b/src/objects/objects.py index cf003a216d..9915fec754 100644 --- a/src/objects/objects.py +++ b/src/objects/objects.py @@ -7,7 +7,7 @@ database-connection tied to itself through a property. The instances of all the different object types are all tied to their own database object stored in the 'dbobj' property. All attribute get/set operations are channeled transparently to the database object -as desired. You should normally never have to worry about the database +as desired. You should normally nevfer have to worry about the database abstraction, just do everything on the TypeClass object. That an object is controlled by a player/user is just defined by its @@ -902,7 +902,6 @@ class Character(Object): if self.location: # save location again to be sure self.db.prelogout_location = self.location - self.location.msg_contents("%s has entered the game." % self.name, exclude=[self]) self.location.at_object_receive(self, self.location) else: player.msg("{r%s has no location and no home is set.{n" % self, sessid=sessid)