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:
parent
770e4438db
commit
967d283507
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
The instances of all the different object types are all tied to their
|
||||||
own database object stored in the 'dbobj' property. All attribute
|
own database object stored in the 'dbobj' property. All attribute
|
||||||
get/set operations are channeled transparently to the database object
|
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.
|
abstraction, just do everything on the TypeClass object.
|
||||||
|
|
||||||
That an object is controlled by a player/user is just defined by its
|
That an object is controlled by a player/user is just defined by its
|
||||||
|
|
@ -902,7 +902,6 @@ class Character(Object):
|
||||||
if self.location:
|
if self.location:
|
||||||
# save location again to be sure
|
# save location again to be sure
|
||||||
self.db.prelogout_location = self.location
|
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)
|
self.location.at_object_receive(self, self.location)
|
||||||
else:
|
else:
|
||||||
player.msg("{r%s has no location and no home is set.{n" % self, sessid=sessid)
|
player.msg("{r%s has no location and no home is set.{n" % self, sessid=sessid)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue