Minor fixes to handle addition of created chars to account playable characters list, and check for multisession mode compliance.

This commit is contained in:
Johnny 2018-10-24 18:57:48 +00:00
parent 2d27a54da9
commit 882e6130e4
2 changed files with 12 additions and 3 deletions

View file

@ -733,7 +733,8 @@ class DefaultAccount(with_metaclass(TypeclassBase, AccountDB)):
if character:
# Update playable character list
account.db._playable_characters.append(character)
if character not in account.characters:
account.db._playable_characters.append(character)
# We need to set this to have @ic auto-connect to this character
account.db._last_puppet = character