Added data migration for character-control list attribute.

This commit is contained in:
Griatch 2013-04-03 11:56:51 +02:00
parent 85d4250f1d
commit 1223b46edd
2 changed files with 4 additions and 1 deletions

View file

@ -397,7 +397,8 @@ class PlayerDB(TypedObject):
data - dictionary of optional data
sessid - session sending this data
"""
if _MULTISESSION_MODE < 2: sessid = None
if _MULTISESSION_MODE < 2:
sessid = None
character = _GA(self, "get_character")(sessid=sessid)
if character:
# execute command on character