mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 09:46:32 +01:00
Use msg rather than print, here.
This commit is contained in:
parent
99f0fec7cf
commit
d1244b41db
1 changed files with 1 additions and 1 deletions
|
|
@ -940,7 +940,7 @@ class TeleportRoom(TutorialRoom):
|
|||
results = search_object(teleport_to)
|
||||
if not results or len(results) > 1:
|
||||
# we cannot move anywhere since no valid target was found.
|
||||
print("no valid teleport target for %s was found." % teleport_to)
|
||||
character.msg("no valid teleport target for %s was found." % teleport_to)
|
||||
return
|
||||
if character.is_superuser:
|
||||
# superusers don't get teleported
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue