mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update Objects.md
at_before_leave(obj, destination) was changed to at_object_leave
This commit is contained in:
parent
21d36cb93a
commit
6ae9ccf2e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue