The EC is not directly affected by this rule, as the restriction is specifically on owning two HDB flats simultaneously. However, if you decide to keep the inherited HDB flat, you would need to sell your existing HDB flat within the specified 6-month period.
Thank you for using EdgeProp Buddy. I'm currently in Beta mode - I encourage you to seek professional real estate advise on matters like these