That code will also fire when they die in general. If you only want to know when they reset then you should use the method here: