SprocketTools / SprocketBot

1 stars 0 forks source link

Fix calculation of track system width #4

Closed Obihorn closed 10 months ago

Obihorn commented 11 months ago

Currently the bot throws an error if your track system matches exactly the railway width. I assume its probably a case of using "<" instead of "<=".

SprocketTools commented 10 months ago

Inspecting the code showed that it wasn't an issue of < vs <=, etc. Attempting a different fix by rounding values when running width checks.