mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Hotfix: for resultant Cuddly movement in my this PR
This commit is contained in:
parent
7d668e84fa
commit
a45d441245
1 changed files with 0 additions and 1 deletions
|
|
@ -161,7 +161,6 @@ If you want to find Cuddly from anywhere (not just in the same room), you can us
|
|||
|
||||
> py cuddly = evennia.search_object("Cuddly")[0] ; cuddly.move_around()
|
||||
Cuddly is moving!
|
||||
The world trembles.
|
||||
|
||||
> The `[0]` is because `search_object` always returns a _list_ of zero, one or more found objects. The `[0]` means that we want the first element of this list (counting in Python always starts from 0). If there were multiple Cuddlies we could get the second one with `[1]`.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue