limit workers per resource deposit
This commit is contained in:
parent
283b86d04a
commit
2d4dc3c708
6 changed files with 33 additions and 10 deletions
|
|
@ -10,7 +10,7 @@ use avian3d::prelude::*;
|
|||
use bevy::prelude::*;
|
||||
use physics::PhysicsLayers;
|
||||
use resources::{Drops, Resources};
|
||||
use state::{BasePhaseState, GameSystemSet};
|
||||
use state::GameSystemSet;
|
||||
|
||||
pub struct CombatPlugin;
|
||||
|
||||
|
|
@ -212,7 +212,6 @@ fn on_die(
|
|||
trigger: Trigger<Died>,
|
||||
names: Query<&Name>,
|
||||
drops: Query<&Drops>,
|
||||
phase: Res<State<BasePhaseState>>,
|
||||
mut resources: ResMut<Resources>,
|
||||
mut commands: Commands,
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue