The IRX–β dust attenuation relation in cosmological galaxy formation simulations. Issue 2 (6th November 2017)