mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Leetle tweak.
This commit is contained in:
parent
6f59e15378
commit
a65e52020c
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ def do_teleport(cdat):
|
|||
# to do it sometime else. If we can find a session in the server's
|
||||
# session list matching the object we're teleporting, force it to
|
||||
# look. This is going to typically be a player.
|
||||
victim_session = functions_db.session_from_object(server.session_list, victim[0])
|
||||
victim_session = functions_db.session_from_object(server.get_session_list(), victim[0])
|
||||
if victim_session:
|
||||
# We need to form up a new cdat dictionary to pass with the command.
|
||||
# Kinda yucky I guess.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue