fix
This commit is contained in:
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user