don't overwrite destination

This commit is contained in:
InspectorCaracal 2022-08-01 15:45:46 -06:00 committed by GitHub
parent 18990b52c0
commit 78735baadc

View file

@ -2846,8 +2846,8 @@ class DefaultExit(DefaultObject):
)
)
# an exit should have a destination (this is replaced at creation time)
if self.location:
# an exit should have a destination - try to make sure it does
if self.location and not self.destination:
self.destination = self.location
def at_cmdset_get(self, **kwargs):