Fixed player creation, removing FIRST_LOGIN flag on character (keeping it on player)

This commit is contained in:
Griatch 2013-02-14 18:09:59 +01:00
parent 71346dcc67
commit db8af97ab2
3 changed files with 13 additions and 7 deletions

View file

@ -908,8 +908,8 @@ def init_new_player(player):
"""
# the FIRST_LOGIN flags are necessary for the system to call
# the relevant first-login hooks.
if player.character:
player.character.db.FIRST_LOGIN = True
#if player.character:
# player.character.db.FIRST_LOGIN = True
player.db.FIRST_LOGIN = True
def string_similarity(string1, string2):