Skip to content

Commit

Permalink
elaborate on is_exclusive comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsDoot committed Dec 4, 2024
1 parent 5ecff1e commit 7205c60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bevy_ecs/src/schedule/executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ impl System for apply_deferred {

fn is_exclusive(&self) -> bool {
// This system is labeled exclusive because it is used by the system
// executor to find places where deferred commands should be applied.
// executor to find places where deferred commands should be applied,
// and commands can only be applied with exclusive access to the world.
true
}

Expand Down

0 comments on commit 7205c60

Please sign in to comment.