From 889983872c5999b17225bc2f70a4db7c87ead7df Mon Sep 17 00:00:00 2001 From: hodasemi Date: Thu, 6 Mar 2025 11:46:56 +0100 Subject: [PATCH] Make commit changes public --- ecs/src/world.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecs/src/world.rs b/ecs/src/world.rs index 3270813..65052d1 100644 --- a/ecs/src/world.rs +++ b/ecs/src/world.rs @@ -337,7 +337,7 @@ impl World { Ok(()) } - fn commit_entity_changes(&mut self) -> Result<()> { + pub fn commit_entity_changes(&mut self) -> Result<()> { if !self.entities_to_remove.is_empty() { println!("entities to remove {}", self.entities_to_remove.len()); }