Skip to content

fix: the practice HUD comes back after a reconnect or a respawned layout - #287

Merged
lukepolo merged 1 commit into
mainfrom
bug/deafcs-practice-hud-reconnect
Nov 2, 2026
Merged

lukepolo merged 1 commit into
mainfrom
bug/deafcs-practice-hud-reconnect

Conversation

@lukepolo

@lukepolo lukepolo commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

A practice player who rejoined could get a blank HUD, because a slot's HUD state only cleared when the leaver still resolved, so whoever took the slot next was sent nothing.

  • Forgets the slot's HUD on every disconnect, whether or not the leaver resolves
  • Forgets it again when a client is put in server
  • Treats a respawned layout on a recycled index as a new one, by comparing the wrapper as well as the index
  • Leaves preferences alone, so .hud and sounds survive a map change

From DEAFCS: https://github.com/DEAFCS/game-server/commit/76526046

@lukepolo
lukepolo merged commit d1c6139 into main Nov 2, 2026
7 of 8 checks passed
@lukepolo
lukepolo deleted the bug/deafcs-practice-hud-reconnect branch November 2, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant