Fix comparison operator for distance checks#3790
Fix comparison operator for distance checks#3790TKTK123456 wants to merge 2 commits intoopenfrontio:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughFixes an off-by-one boundary condition error in station distance checks within the railway network logic. The comparison operators are adjusted so structures placed at the minimum allowed distance (15 tiles) can now form railroad connections, aligning placement and connection rules. Changes
Estimated Code Review Effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
If this PR fixes an issue, link it below. If not, delete these two lines.
Resolves #3737
Description:
Fixing the distance to make it so that structures exactly 15 tiles apart will have rail network.
Please complete the following:
Please put your Discord username so you can be contacted if a bug or regression is found:
tktk1234567
Display name 2TKTK1234567