mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 13:07:16 +02:00
Merge pull request #2822 from InspectorCaracal/fix-dest-overwrite
Fix DefaultExit overwriting prototype destination
This commit is contained in:
commit
745d32e5e1
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)
|
||||
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