Hotfix on the gold variable.

I had to add the variable to the foyer() function, otherwise it would not display the proper gold amount and probably return an error.