Merge pull request #2822 from InspectorCaracal/fix-dest-overwrite
Fix DefaultExit overwriting prototype destination
This commit is contained in:
commit
a13997395b
1 changed files with 2 additions and 2 deletions
|
|
@ -2850,8 +2850,8 @@ class DefaultExit(DefaultObject):
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
# an exit should have a destination (this is replaced at creation time)
|
# an exit should have a destination - try to make sure it does
|
||||||
if self.location:
|
if self.location and not self.destination:
|
||||||
self.destination = self.location
|
self.destination = self.location
|
||||||
|
|
||||||
def at_cmdset_get(self, **kwargs):
|
def at_cmdset_get(self, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue