Skip to content
Snippets Groups Projects
Commit 0e0a24da authored by ThibautDemare's avatar ThibautDemare
Browse files

Add the action so the vehicle informs its building that it is leaving

parent 3a7841b6
No related branches found
No related tags found
No related merge requests found
...@@ -57,6 +57,7 @@ species Vehicle skills:[MovingOnNetwork] { ...@@ -57,6 +57,7 @@ species Vehicle skills:[MovingOnNetwork] {
} }
if(length(scheduledCommodities) = 0){ if(length(scheduledCommodities) = 0){
readyToMove <- true; readyToMove <- true;
do leave_building;
ask source { ask source {
do removeVehicleFromList(myself, myself.networkType); do removeVehicleFromList(myself, myself.networkType);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment