BetterUI
BetterUI copied to clipboard
In-Game Return to Lobby button
Would love to see a return to lobby button on the in-game escape menu (possibly host only in mp?) that brings everyone back to the lobby with all characters selections/artifacts saved. last part isn't super important but would be nice nonetheless
The button with the <RoR2.ConsoleFunctions> used on the game end report panel that sends you back to the lobby runs the "run_end" command. The console command has the flag "ConVarFlags.SenderMustBeServer". All the command does is
if (Run.instance)
{
UnityEngine.Object.Destroy(Run.instance.gameObject);
}
This would be doable as a host-only/singleplayer button.