Limited partnership a Passive Activity Loss carry over sold some property I have a gain on that sale. Can the gain offset passive Activity loss carryover.

I owned a limited partnership I have a Passive Activity Loss carry over tax year after year.  This year the partnership sold some property and I guess I have a gain on that sale.   Can the  gain offset passive Activity loss carryover.