Fixed erroneous global_search keyword in a few places in the code due to the API having changed. Resolves issue 276.
This commit is contained in:
parent
8b582c9d3f
commit
97973dd5f9
3 changed files with 29 additions and 29 deletions
|
|
@ -677,7 +677,7 @@ class CmdIC(MuxCommandOOC):
|
|||
return
|
||||
if not new_character:
|
||||
# search for a matching character
|
||||
new_character = search.objects(self.args, caller, global_search=True, single_result=True)
|
||||
new_character = search.objects(self.args, caller)
|
||||
if new_character:
|
||||
new_character = new_character[0]
|
||||
else:
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ class CmdScripts(MuxCommand):
|
|||
scripts = ScriptDB.objects.get_all_scripts(key=args)
|
||||
if not scripts:
|
||||
# try to find an object instead.
|
||||
objects = ObjectDB.objects.object_search(args, caller=caller, global_search=True)
|
||||
objects = ObjectDB.objects.object_search(args, caller=caller)
|
||||
if objects:
|
||||
scripts = []
|
||||
for obj in objects:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue