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])
This commit is contained in:
delizin 2014-01-31 13:32:33 -05:00
parent 770e4438db
commit 967d283507

View file

@ -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)