Hi there, I’m finishing up with the Shop part of the fourth RPG course.
On the Purse script, we initialize the balance on Awake, and then on Restore State we initialize it again from the saved value. Is there a risk of a Race Condition here? And if so, should we change it to a Lazy Value? I remember we did something similar with the health value on the Health script.
Thanks!