mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
@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
|
||||
|
||||
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.
|
||||
if not target_obj:
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue