IOnlineSession: How to Send Clients to Main Menu when Host leaves?
So I'm making a multiplayer game with the Steam Subsystem. Everything is working fine (finding sessions and joining). Clients players can leave anytime to main menu and game still runs. But what do I do when the Host leaves the game? Right now, the game freezes for everyone else. How can I send clients back to menu when the Host leaves?
asked Dec 18 '17 at 05:01 PM in C++ Programming
Hi, im not a pro, but if the the clients get kicked or the server shut downs, i think the sessions will get destroyed. u could use this to send them back to the mainmenu. (not a pro yet, but thats the first thing i would try )
Hope it helps
Follow this question
Once you sign in you will be able to subscribe for any updates here