def logout(self): " События, когда пользователь выходит из онлайна " log_debug(self.name + " logout") f = self.fighter() if f != None: f.slowpoke = True self.leave_fight() Loc.leave(self) Chat.unsubscribe(self.name)
def go_noupdate(self, where): Loc.leave(self) self["loc"] = where Loc.enter(self)