Implemented a modified and cleaned objectdb.search and accompanying object.manager.search_object that also searches globally. The default commands have not yet been converted to use the new call.

This commit is contained in:
Griatch 2013-05-11 20:01:19 +02:00
parent be22a31ec4
commit 218e4a149c
6 changed files with 131 additions and 118 deletions

View file

@ -224,7 +224,7 @@ class CmdIC(MuxPlayerCommand):
return
if not new_character:
# search for a matching character
new_character = search.objects(self.args, player)
new_character = search.object_search(self.args, player)
if new_character:
new_character = new_character[0]
else: