Skip to content

Commit

Permalink
Fixing compiler errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyTornetta committed Dec 21, 2024
1 parent 6511431 commit bc1a30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmos_core/src/logic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ fn logic_block_changed_event_listener(
if let Ok(mut logic) = q_logic.get_mut(ev.block.structure()) {
logic.remove_logic_block(
logic_block,
ev.old_block_rotation,
ev.old_block_rotation(),
ev.block.coords(),
&structure,
entity,
Expand All @@ -391,7 +391,7 @@ fn logic_block_changed_event_listener(
let coords = ev.block.coords();
logic.add_logic_block(
logic_block,
ev.new_block_rotation,
ev.new_block_rotation(),
coords,
&structure,
entity,
Expand Down

0 comments on commit bc1a30b

Please sign in to comment.