Fix for NoneType exceptions when initial_setup.py is run where multisession_mode is not set to 0.
This commit is contained in:
parent
5b6376fd87
commit
8647bf2367
2 changed files with 11 additions and 5 deletions
|
|
@ -105,7 +105,11 @@ def create_objects():
|
|||
|
||||
god_player.attributes.add("_first_login", True)
|
||||
god_player.attributes.add("_last_puppet", god_character)
|
||||
god_player.db._playable_characters.append(god_character)
|
||||
|
||||
try:
|
||||
god_player.db._playable_characters.append(god_character)
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
room_typeclass = settings.BASE_ROOM_TYPECLASS
|
||||
limbo_obj = create.create_object(room_typeclass, _('Limbo'), nohome=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue