Skip to content

Fix checking for connection to master network#225

Merged
JackOfMostTrades merged 1 commit intoYourDeveloperFriend:mainfrom
JackOfMostTrades:montreal-master-network-fix
Feb 20, 2026
Merged

Fix checking for connection to master network#225
JackOfMostTrades merged 1 commit intoYourDeveloperFriend:mainfrom
JackOfMostTrades:montreal-master-network-fix

Conversation

@JackOfMostTrades
Copy link
Collaborator

Per the map designer, the check that all track must be connected to the master network happens at the end of the build phase. If this connectivity is checked as each tile is placed, there are circumstances where builds are not allowed but should be.

Screenshot 2026-02-19 at 17 07 56

In this example, it is valid for a player to build from Henri-Bourassa to Montmorency. However, a player is not allowed to start the build at the town since the base game build-by-build checks that track all leads back to a city over the current player's track. The prior check for this map also would not have allowed the player to start the build from Henri-Bourassa since the first track placement would not have been connected to the master network.

This PR replaces the prior build-by-build check for connectivity to the master network with an end-of-build-phase check that validates that all track is connected.

@JackOfMostTrades JackOfMostTrades merged commit 2eb316b into YourDeveloperFriend:main Feb 20, 2026
1 check passed
@JackOfMostTrades JackOfMostTrades deleted the montreal-master-network-fix branch February 20, 2026 01:29
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