You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (v->current_order.IsType(OT_LOADING)) v->LeaveStation();
However, in line 1537 we return from that function if
!v->NeedsAutomaticServicing()
NeedsAutomaticServicing always returns false if v->current_order.IsType(OT_LOADING). Any change to v->current_order between line 1537 and 1571 is coupled with returning from the function so the condition in line 1571 is never true. This is fairly confusing if you're searching for places where LeaveStation can be called.
fonsinchen opened the ticket and wrote:
Reported version: trunk
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/4295
The text was updated successfully, but these errors were encountered: