From 6ae9ccf2e4f31d127a28ed79e89750532120bfac Mon Sep 17 00:00:00 2001 From: llzzies <67440021+llzzies@users.noreply.github.com> Date: Mon, 1 Mar 2021 04:11:48 -0500 Subject: [PATCH] Update Objects.md at_before_leave(obj, destination) was changed to at_object_leave --- docs/source/Objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/Objects.md b/docs/source/Objects.md index e2f21477e9..905dc86a80 100644 --- a/docs/source/Objects.md +++ b/docs/source/Objects.md @@ -172,7 +172,7 @@ object). 1. In `at_traverse`, `object.move_to(destination)` is triggered. This triggers the following hooks, in order: 1. `obj.at_before_move(destination)` - if this returns False, move is aborted. - 1. `origin.at_before_leave(obj, destination)` + 1. `origin.at_object_leave(obj, destination)` 1. `obj.announce_move_from(destination)` 1. Move is performed by changing `obj.location` from source location to `destination`. 1. `obj.announce_move_to(source)`