Correct stray use of location
authorJeremy Stanley <fungi@yuggoth.org>
Sun, 4 May 2014 23:53:06 +0000 (23:53 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Sun, 4 May 2014 23:53:06 +0000 (23:53 +0000)
lib/mudpy/misc.py

index 28b92fb..f6a0f8e 100644 (file)
@@ -485,7 +485,7 @@ class Universe:
                    area
                    ].contents:
                     del self.contents[area].contents[element.key]
-                element.set("default_location", location)
+                element.set("default_location", area)
                 element.remove_facet("location")
 
         # another pass to straighten out all the element contents