Use msg rather than print, here.

This commit is contained in:
Ahmed Charles 2015-10-19 03:12:53 +00:00 committed by Griatch
parent 99f0fec7cf
commit d1244b41db

View file

@ -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