From 76db10c2c5cc9622d9ad3b41d1a16a3cf379f047 Mon Sep 17 00:00:00 2001 From: Johnny Date: Sun, 30 Oct 2016 15:55:18 -0400 Subject: [PATCH] Update characters.py Adds required argument to at_after_move hook for clarity. --- evennia/game_template/typeclasses/characters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/game_template/typeclasses/characters.py b/evennia/game_template/typeclasses/characters.py index ebfd4f264b..ff7d8bfb64 100644 --- a/evennia/game_template/typeclasses/characters.py +++ b/evennia/game_template/typeclasses/characters.py @@ -18,7 +18,7 @@ class Character(DefaultCharacter): (important!)sets locks so character cannot be picked up and its commands only be called by itself, not anyone else. (to change things, use at_object_creation() instead). - at_after_move - Launches the "look" command after every move. + at_after_move(source_location) - Launches the "look" command after every move. at_post_unpuppet(player) - when Player disconnects from the Character, we store the current location in the pre_logout_location Attribute and move it to a None-location so the "unpuppeted" character