This happens ever since the tucking update, not a bug just bad luck.How is this not a bug? while(to==from){to=random(listOfDestinations)}
This happens ever since the tucking update, not a bug just bad luck.
How is this not a bug? while(to==from){to=random(listOfDestinations)}
Issue # | 3576 (https://github.com/mikescnr/mcnr-issues/issues/3576) |
Issue | From&To in trucking can both be the same place |
Description | From time to time, the from and to when starting a trucking mission can be the same place. |
Script area | Idk |
Priority | Medium |
Logged by | Ardealul (http://mikescnr.com/forum/index.php?action=profile;u=4337) |
Assigned to | Mike (http://mikescnr.com/forum/index.php?action=profile;u=1) |
Status | New |
How is this not a bug? while(to==from){to=random(listOfDestinations)}
@Ardealul Make the entire functionality recursive or remove from the array the 'from' element and extract a 'to' from there. :D