Fix hex board template not being applied: include GridType and HexSides in snapshot
Both GameLobbyReadyHandler and MatchmakerService were building BoardTemplateSnapshot without GridType/HexSides. FromTemplate checks HexSides > 0 to set IsTemplateBased, so hex templates were silently treated as square grids. 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:
@@ -125,6 +125,8 @@ internal sealed class MatchmakerService : BackgroundService
|
||||
{
|
||||
width = tmpl.Width,
|
||||
height = tmpl.Height,
|
||||
gridType = tmpl.GridType,
|
||||
hexSides = tmpl.HexSides,
|
||||
tiles = tilesElem,
|
||||
startingZones = zonesElem,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user