Vectorial1024 / PublicTransportUnstucker

Unstucks public transport by fixing known causes of stucking.
https://steamcommunity.com/sharedfiles/filedetails/?id=2774427140
2 stars 0 forks source link

Citizen Runaway check results in "too early" runaway-fix #1

Closed Vectorial1024 closed 2 years ago

Vectorial1024 commented 2 years ago

This results in hilarious situation where eg correctly-boarding passengers for the metro is wrongly detected as "runaway" and gets cancelled too early. They aren't even rogues!

Maybe we did not clean up/init the data tables correctly.

Vectorial1024 commented 2 years ago

Indeed, the correct distance value was never written into the checking table, so the default value (0) gets written into it every time. And then of course comparing any distance to 0 will show that the citizens are "running away".

This has been fixed in a previous commit, and the fix is already on Steam, so I am closing this.