mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 23:36:30 +01:00
Fix session retrieve in examine, update changelog
This commit is contained in:
parent
bc5210eb9c
commit
88a49334f2
2 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue