From 4125c93c8b2f98db93d5f0f796906b48d7b363d1 Mon Sep 17 00:00:00 2001 From: Greg Taylor Date: Sat, 24 Oct 2009 03:42:42 +0000 Subject: [PATCH] @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. --- src/commands/objmanip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/objmanip.py b/src/commands/objmanip.py index c47a23f39f..fbb0119a19 100644 --- a/src/commands/objmanip.py +++ b/src/commands/objmanip.py @@ -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