fixed player retaining resources and upgrades after scene restart