fix
This commit is contained in:
@@ -57,7 +57,7 @@ pub fn spawn_log_cargo(
|
||||
);
|
||||
|
||||
// Find nearest free tile from biased position
|
||||
let drop_pos = tilemap.find_nearest_free_cargo_tile(biased_pos, 4)?;
|
||||
let drop_pos = tilemap.find_nearest_free_cargo_tile(biased_pos, 4, &[])?;
|
||||
|
||||
// TODO: OuchEvent — if a living entity occupies drop_pos, they take impact damage.
|
||||
// Check tilemap occupancy here when the combat/injury system exists.
|
||||
|
||||
Reference in New Issue
Block a user