Fix session retrieve in examine, update changelog

This commit is contained in:
Griatch 2019-10-17 00:24:52 +02:00
parent bc5210eb9c
commit 88a49334f2
2 changed files with 3 additions and 1 deletions

View file

@ -31,6 +31,7 @@ without arguments starts a full interactive Python console.
- Show warning on `start -l` if settings contains values unsafe for production.
- Make code auto-formatted with Black.
- Make default `set` command able to edit nested structures (PR by Aaron McMillan)
- Allow running Evennia test suite from core repo with `make test`.
## Evennia 0.9 (2018-2019)

View file

@ -2579,9 +2579,10 @@ class CmdExamine(ObjManipCommand):
# we are only interested in specific attributes
caller.msg(self.format_attributes(obj, attrname, crop=False))
else:
session = obj.sessions.get()[0]
session = None
if obj.sessions.count():
mergemode = "session"
session = obj.sessions.get()[0]
elif self.account_mode:
mergemode = "account"
else: