Fixed player.search() to also move here/me/self wrappers to typeclass.

This commit is contained in:
Griatch 2014-04-13 10:04:35 +02:00
parent 661eb0c23b
commit 59513e5c00
4 changed files with 36 additions and 28 deletions

View file

@ -297,7 +297,7 @@ class Object(TypeClass):
# searchdata is a string; wrap some common self-references
if searchdata.lower() in ("me", "self",):
return self.player
self.dbobj.search_player(searchdata, quiet=quiet)
return self.dbobj.search_player(searchdata, quiet=quiet)
def execute_cmd(self, raw_string, sessid=None):
"""