mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
don't overwrite destination
This commit is contained in:
parent
3e0c7d3551
commit
57c1d67f34
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue