mirror of
https://github.com/Cesarus85/ringfall-mjolnir-vr.git
synced 2026-10-29 04:01:10 +01:00
A machine that asked to join as a game ended, before the server switched to the pregame, was left waiting behind the one the server holds: the server refused every later join with "network_game_add_player() failed" and sat in the lobby for good. A host that starts its next game by itself (network_test.c's host, which the dedicated servers run) never recovered. Those joins are now dropped when the next game starts. Only the host's own bookkeeping changes; nothing on the wire does. From JoshRob297's halo-ce-touch (18a6fc58), reworked for our tree, which has no network_game_server_port_set_minimum_players. Co-authored-by: JoshRob297 <99092299+JoshRob297@users.noreply.github.com> (cherry picked from commit 4582817b2bb4241b53bfa4c523f02aa267595feb) (cherry picked from commit be7362f2d0b9983e3e12a25f5c76871be5e9132f)