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)
|
results = search_object(teleport_to)
|
||||||
if not results or len(results) > 1:
|
if not results or len(results) > 1:
|
||||||
# we cannot move anywhere since no valid target was found.
|
# 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
|
return
|
||||||
if character.is_superuser:
|
if character.is_superuser:
|
||||||
# superusers don't get teleported
|
# superusers don't get teleported
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue