Before a positive amount of training points is added (Resources.addTrainingPoints).
Resources.addTrainingPoints