mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-28 08:14:56 +00:00
b68a22ecdb
This moves the check whether a player is the host out of `LobbyGameRegistrationController` and only creates an instance of it in `SetupWindow` if the player is the host. This solves a problem with `LobbyGameRegistrationController.onGameStart()` getting triggered by players not being the host and sending unnecessary and invalid changestate stanzas to XpartaMuPP. Patch by: @Dunedan Accepted by: @Stan Differential Revision: https://code.wildfiregames.com/D5270 This was SVN commit r28148.