1
0
forked from 0ad/0ad
0ad/binaries/data
Dunedan b68a22ecdb Instantiate controller only for the host
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.
2024-07-10 06:20:51 +00:00
..
config Adds compute shaders support and scaling with FSR. 2024-01-17 19:40:27 +00:00
l10n Update Transifex configurations for the new API using the tx migrate command specified on https://github.com/transifex/cli/releases 2023-04-27 13:06:30 +00:00
mods Instantiate controller only for the host 2024-07-10 06:20:51 +00:00
tests Allow to use a generator as MapGenerator 2024-05-22 15:52:12 +00:00
tools Make the space in 0 A.D. non-breaking throughout the codebase. 2023-07-27 20:54:46 +00:00