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
|
# 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
|
# session list matching the object we're teleporting, force it to
|
||||||
# look. This is going to typically be a player.
|
# 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:
|
if victim_session:
|
||||||
# We need to form up a new cdat dictionary to pass with the command.
|
# We need to form up a new cdat dictionary to pass with the command.
|
||||||
# Kinda yucky I guess.
|
# Kinda yucky I guess.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue