core upgrades
This commit is contained in:
parent
2d4dc3c708
commit
e2d0d553e9
7 changed files with 71 additions and 14 deletions
|
|
@ -13,7 +13,7 @@ impl Plugin for ResourcesPlugin {
|
|||
fn build(&self, app: &mut App) {
|
||||
app.add_systems(OnEnter(AppState::Game), setup)
|
||||
.add_systems(FixedUpdate, tick_harvest.in_set(GameSystemSet::Execute))
|
||||
.insert_resource(AvailableWorkers(5))
|
||||
.insert_resource(AvailableWorkers(1))
|
||||
.add_observer(on_harvest);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue