Fix rule suggestions + placement highlights

- JoinCustomLobbyResponse now includes ActiveRules so the guest's rule editor
  pre-populates from the lobby's current effective rules instead of hardcoded
  defaults; previously all fields in a suggestion were sent as defaults, causing
  accepted suggestions to reset rules to defaults.
- game_screen.gd: placement tile highlights are now re-applied on every state
  update while the player hasn't placed yet, not only on the first entry into
  PLACEMENT mode; fixes highlights disappearing when the opponent places their
  ArchSpirit and a delta arrives mid-placement.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-03-21 10:22:29 -04:00
co-authored by Claude Happy
parent 97b8391608
commit b812372514
3 changed files with 31 additions and 6 deletions
+4 -3
View File
@@ -233,9 +233,10 @@ public sealed record CreateCustomLobbyResponse(
CustomRulesDto ActiveRules);
public sealed record JoinCustomLobbyResponse(
Guid LobbyId,
string Status, // "WaitingForReady"
Guid? GameSessionId); // always null; reserved for future use
Guid LobbyId,
string Status, // "WaitingForReady"
CustomRulesDto ActiveRules,
Guid? GameSessionId); // always null; reserved for future use
public sealed record LeaveCustomLobbyResponse(Guid LobbyId);