Fixed never setting timeBeforeLevelUp