'Return the character from storage in None location in `at_post_unpuppet`.
Args:
player (Player): This is the connecting player.
session (Session): Session controlling the connection.'

def at_pre_puppet(self, player, session=None):

    if (self.location is None):
        self.location = (self.db.prelogout_location if self.db.prelogout_location else self.home)
        self.location.at_object_receive(self, None)
    if self.location:
        self.db.prelogout_location = self.location
    else:
        player.msg(('|r%s    has    no    location    and    no    home    is    set.|n' % self), session=session)
