Ver código fonte

Fixed broken scoping in @destroy

Keelan Lightfoot 8 anos atrás
pai
commit
8c216ad790
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      execution_context.go

+ 1
- 1
execution_context.go Ver arquivo

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