This commit is contained in:
2026-03-22 15:23:44 +00:00
parent 3b9b2d9c88
commit c46e23af06
4 changed files with 31 additions and 10 deletions
+2 -2
View File
@@ -276,7 +276,7 @@ pub fn task_executor_system(
if chosen_drop.is_none() {
*chosen_drop = Some(
tilemap_mut
.find_nearest_free_cargo_tile(*dest, 8)
.find_nearest_free_cargo_tile(*dest, 8, &[])
.unwrap_or(*dest),
);
}
@@ -331,7 +331,7 @@ pub fn task_executor_system(
if chosen_drop.is_none() {
*chosen_drop = Some(
tilemap_mut
.find_nearest_free_cargo_tile(*pos, 8)
.find_nearest_free_cargo_tile(*pos, 8, &[])
.unwrap_or(*pos),
);
}