Leave button to go to main menu if you're a host

I implemented everything as lecturer has shown until this lesson, and I found out that if I leave game whilst being a host, the game doesn’t send me to main menu.

So here’s my changes to this class to make it work:

Changes:

.

Privacy & Terms