When to change swingarm chain guard

I'm in the process of changing my chain and sprockets and was wondering at what stage to replace the plastic swingarm chain guide/guard.
From the pictures it seems the top is ok but the bottom is quite worn/grooved.
From the pictures it seems the top is ok but the bottom is quite worn/grooved.