@dest shouldn't use a global search for object. The only time this is global is when a player specifies a dbref, which is a very specific query.
This commit is contained in:
parent
3be514ffdc
commit
4125c93c8b
1 changed files with 1 additions and 1 deletions
|
|
@ -1292,7 +1292,7 @@ def cmd_destroy(command):
|
||||||
switch_override = True
|
switch_override = True
|
||||||
|
|
||||||
for targetname in targetlist:
|
for targetname in targetlist:
|
||||||
target_obj = source_object.search_for_object_global(targetname)
|
target_obj = source_object.search_for_object(targetname)
|
||||||
# Use search_for_object to handle duplicate/nonexistant results.
|
# Use search_for_object to handle duplicate/nonexistant results.
|
||||||
if not target_obj:
|
if not target_obj:
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue