Gold between rounds

Gold between rounds
Does anyone know how the gold accumulates between rounds? It used to work for me but now I can’t get it to work and it always restarts. I don’t want it to be saved between games when leaving and returning, I simply want the scenario to have, for example, 20 rounds, and for you to accumulate. When you return to the new game you have to start with 0.
Is there a way to have infinite materials and consumables without affecting gold resources?