Plugin cleanup

This commit is contained in:
2026-03-22 00:43:03 +00:00
parent d61baaf1ba
commit cafe376841
8 changed files with 93 additions and 20 deletions
+2 -4
View File
@@ -63,7 +63,7 @@ use crate::constants::{
ITILE_SIZE, PATHFINDER_HIERARCHICAL_THRESHOLD_CHUNKS, PATHFINDER_MAX_NODES,
PATHFINDER_PROVISIONAL_NODE_LIMIT, PIXEL_RATIO, TILE_SIZE,
};
use crate::entities::cargo::haul_encumbrance_system;
use crate::entities::item::inventory::{update_encumbrance, InventoryChangedEvent};
use crate::entities::shared_systems::constants::{
CONVOY_DOT_THRESHOLD, ES_DIRECTION_THRESHOLD, HEAD_ON_DOT_THRESHOLD, OCCUPANCY_CROWD_THRESHOLD,
@@ -71,7 +71,7 @@ use crate::entities::shared_systems::constants::{
WALK_SPEED_DIVISOR,
};
use crate::entities::shared_systems::occupancy::{rebuild_tile_occupancy, TileOccupancy};
use crate::entities::tasks::task_executor_system;
use crate::world::tiles::tile_changed::{PathfindingDirtyChunks, TileChangedEvent};
use crate::world::tiles::TileMap;
use crate::world::{
@@ -232,7 +232,6 @@ impl Plugin for PathfindingPlugin {
FixedUpdate,
(
rebuild_tile_occupancy,
haul_encumbrance_system,
update_encumbrance,
collect_pathfinding_dirty_chunks,
invalidate_paths_on_tile_change,
@@ -240,7 +239,6 @@ impl Plugin for PathfindingPlugin {
// DEPRECATED: Wandering now handled by Task::Idle in task executor
update_wandering_targets,
movement,
task_executor_system,
)
.chain(),
)