Prevent game from starting via checkboxes with unavailable map#20101
Prevent game from starting via checkboxes with unavailable map#20101Mailaender merged 1 commit intoOpenRA:bleedfrom
Conversation
c83a79d to
44b794d
Compare
44b794d to
0e16868
Compare
|
rebased |
AspectInteractive
left a comment
There was a problem hiding this comment.
Looks good from here.
93b0dc7 to
f5fe68c
Compare
|
I can't reproduce the original issue. When I remove the map from the file system (why should I do that?) then the UI becomes inconsistent: The |
83460ed to
d0a560b
Compare
When you click on ready instead of "starting the game" and then immediately kicking the player / everyone back to multiplayer lobby the game will simply not start. This fix doesn't allow the game to start in the first place
Start button is disabled. I'm not sure what you mean
|
|
When I join a game, delete the map on both server and client and tick the ready checkboxes it now crashes the server: |
d0a560b to
b60de2b
Compare
|
That's a weird crash. @teinarss mentioned that host will always be client 0. But in your case client 0 didn't exist. I handled it but I may be able to handle it better if I knew why client 0 didn't exist |
|
Note there is a difference between
It can be confusing to see IsHost, IsAdmin, clientIndex 0 and clientAt being used to get an admin. And connection and player also having an index field(?). |

Currently the player gets kicked from the multiplayer lobby