Skip to content

Commit 56c2dff

Browse files
committed
Fix Hyperion and bows...
1 parent 59a41bd commit 56c2dff

File tree

4 files changed

+28
-26
lines changed

4 files changed

+28
-26
lines changed

Cargo.lock

Lines changed: 23 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ version = '1.1.1'
142142
[workspace.dependencies.flecs_ecs]
143143
features = ['flecs_manual_registration']
144144
git = 'https://github.com/Indra-db/Flecs-Rust'
145+
rev = "cb296d0" # main
146+
version = "0.1.3"
145147

146148
[workspace.dependencies.geometry]
147149
path = 'crates/geometry'

events/tag/src/module/bow.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ impl Module for BowModule {
8484
world,
8585
&mut EventQueue<event::ItemInteract>,
8686
)
87-
.singleton()
88-
.multi_threaded()
87+
//.singleton()
8988
.kind::<flecs::pipeline::PostUpdate>()
9089
.each_iter(move |it, _, event_queue| {
9190
let _system = it.system();
@@ -203,7 +202,7 @@ impl Module for BowModule {
203202
&Compose($),
204203
&mut EventQueue<event::ProjectileEntityEvent>,
205204
)
206-
.multi_threaded()
205+
//.multi_threaded()
207206
.singleton()
208207
.kind::<flecs::pipeline::PostUpdate>()
209208
.each_iter(move |it, _, (compose, event_queue)| {
@@ -263,7 +262,6 @@ impl Module for BowModule {
263262
world,
264263
&mut EventQueue<event::ProjectileBlockEvent>,
265264
)
266-
.multi_threaded()
267265
.kind::<flecs::pipeline::PreStore>()
268266
.each_iter(move |it, _, event_queue| {
269267
let _system = it.system();

events/tag/src/module/damage.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub struct DamageModule {}
1717

1818
impl Module for DamageModule {
1919
fn module(world: &World) {
20-
system!("apply natural damages", world, &mut EventQueue<HitGroundEvent>($), &Compose($))
20+
system!("fall_damage", world, &mut EventQueue<HitGroundEvent>($), &Compose($))
2121
.each_iter(|it, _, (event_queue, compose)| {
2222
let world = it.world();
2323
let system = it.system();

0 commit comments

Comments
 (0)