Fixed a sitting bug introduced in last commit
This commit is contained in:
parent
876c890052
commit
bd378c4d8b
1 changed files with 4 additions and 4 deletions
|
|
@ -79,14 +79,14 @@ class Character(Object, GenderCharacter, ContribRPCharacter):
|
||||||
self.msg(INTRO)
|
self.msg(INTRO)
|
||||||
self.account.db._last_puppet = self
|
self.account.db._last_puppet = self
|
||||||
|
|
||||||
def at_post_unpuppet(self, **kwargs):
|
def at_pre_unpuppet(self, **kwargs):
|
||||||
"""
|
"""
|
||||||
Make sure we aren't left sitting down when logging out.
|
Make sure we aren't left sitting down when logging out.
|
||||||
"""
|
"""
|
||||||
if sitter.db.is_sitting:
|
if self.db.is_sitting:
|
||||||
chair = sitter.db.is_sitting
|
chair = self.db.is_sitting
|
||||||
chair.db.sitter = None
|
chair.db.sitter = None
|
||||||
sitter.db.is_sitting = None
|
self.db.is_sitting = None
|
||||||
|
|
||||||
def msg(self, text=None, from_obj=None, session=None, **kwargs):
|
def msg(self, text=None, from_obj=None, session=None, **kwargs):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue