mirror of
https://github.com/vladtrc/iw4L
synced 2026-10-26 02:11:39 -04:00
9b0c1a9459
The Yes button of the pause menu's End Game popup is rewritten to `disconnect` (03016c48). The host of a private match therefore quits instead of ending the match: nobody sees the "Host ended game" end-of-match flow, and the host lands on the main menu with the lobby gone. The button now sends the "endround" menu response to the game scripts, which end the match as host-ended, run the end-of-game display and then end the level, so the host returns to the private lobby. The hud still turns that response into `disconnect` unless the local player hosts a private lobby (ui_lobby_host set, ui_lobby_public not set), so public lobbies and clients leave as they do today. This reverses the end-game leave from03016c48for private hosts only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>