Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Leaving game should bring you back to respective lobby #15361
Leaving a game now brings you back to the respective lobby (#15325)
I'm very new to the code base so please let me know if I could have done this in a better way!
Roughly what I did was whenever the player leaves the main menu and goes into a "game" (missions, skirmish, multiplayer, map editor, and replays), it stores what type of thing they started and when the main menu is loaded later it reopens back up the appropriate menu again.
I'm not sure if this last game state is already available somewhere else but if it is I can just update my PR to use that instead.
Also tested on Dune TD RA and TS.
First of all, thanks for taking this on!
Seems there's still a style issue remaining (or rather, it was introduced with the other style fixes).
In my opinion it would be great if we could get this into the playtest, so for now I'm moving it to the milestone.
Sorry about that. I fixed the initial StyleCop issues and then I must have created some more when I amended my last commit to re-add the end of file new line that I took out by accident.
Edit: I didn't see on the wiki if I should be squashing/amending additional pull request changes. Is there a preference for OpenRA?