@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:
Greg Taylor 2009-10-24 03:42:42 +00:00
parent 3be514ffdc
commit 4125c93c8b

View file

@ -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