Browse Source

Fixed broken scoping in @destroy

Keelan Lightfoot 8 years ago
parent
commit
8c216ad790
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      execution_context.go

+ 1
- 1
execution_context.go View File

@@ -995,7 +995,7 @@ func (c *ExecutionContext) dumpCmd(input string) {
995 995
 
996 996
 func (c *ExecutionContext) destroyCmd(target string) {
997 997
 
998
-	object, found := c.MatchFirst(c.context.ID, target, MatchContext|MatchGlobalDBRef|MatchExitAliases|MatchInventory|MatchStuffTypes)
998
+	object, found := c.MatchFirst(c.context.ID, target, MatchContext|MatchGlobalDBRef|MatchRelative|MatchExitAliases|MatchInventory|MatchStuffTypes)
999 999
 	if !found {
1000 1000
 		c.output("I don't see that here.")
1001 1001
 		return