I've got a global reset for when the played falls of the screen but I also have a currency and a shop but my problem is that it keeps resetting the money variable
Develop games in your browser. Powerful, performant & highly capable.