~CFlowNode_InventoryItemSelected() { IItemSystem* pItemSys = m_pGF->GetIItemSystem(); if (pItemSys) pItemSys->UnregisterListener(this); }