浏览代码

Fixed broken scoping in @destroy

Keelan Lightfoot 8 年前
父节点
当前提交
8c216ad790
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      execution_context.go

+ 1
- 1
execution_context.go 查看文件

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