Merge pull request #3397 from bradleymarques/fix-pre-logout-location-in-docs

Fixes incorrect variable name in a doc string
This commit is contained in:
Griatch 2024-01-14 18:01:57 +01:00 committed by GitHub
commit 99d055d21e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,12 +23,12 @@ class Character(ObjectParent, DefaultCharacter):
(to change things, use at_object_creation() instead). (to change things, use at_object_creation() instead).
at_post_move(source_location) - Launches the "look" command after every move. at_post_move(source_location) - Launches the "look" command after every move.
at_post_unpuppet(account) - when Account disconnects from the Character, we at_post_unpuppet(account) - when Account disconnects from the Character, we
store the current location in the pre_logout_location Attribute and store the current location in the prelogout_location Attribute and
move it to a None-location so the "unpuppeted" character move it to a None-location so the "unpuppeted" character
object does not need to stay on grid. Echoes "Account has disconnected" object does not need to stay on grid. Echoes "Account has disconnected"
to the room. to the room.
at_pre_puppet - Just before Account re-connects, retrieves the character's at_pre_puppet - Just before Account re-connects, retrieves the character's
pre_logout_location Attribute and move it back on the grid. prelogout_location Attribute and move it back on the grid.
at_post_puppet - Echoes "AccountName has entered the game" to the room. at_post_puppet - Echoes "AccountName has entered the game" to the room.
""" """