private void UpdateBuff(CCreature rec) { BuffBase buff = rec.GetStateBuff(eBuffState.sleep); if (buff != null) { CBuffMgr.Destroy(buff.m_uid); } }