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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user