The addition of sugar of any type to a custard mix also serves to separate the egg protein molecules, which, in turn, raises the coagulation temperature and delays the rate of thickening. As a result, a sweet custard will require longer cooking than a savory one.