Had a massive craving so made it last night. The custard did'nt really set well, even after in the fridge, its 'flat'.

Anyone know the secret to getting the custard firm? Thanks.

It did taste yummy though.