fixed endless running bug

This commit is contained in:
Brooks Palin
2024-02-29 21:34:53 -07:00
parent 3413810773
commit 40fe6bd50e
6 changed files with 116 additions and 12 deletions
+1
View File
@@ -139,6 +139,7 @@ fn extract_screen_capture_components(
) {
for (entity, screen_capture) in screen_capure_comps.iter() {
if screen_capture.should_capture() {
println!("Capturing Frame: {} / {}", screen_capture.frames, screen_capture.max_frames);
commands.get_or_spawn(entity).insert(screen_capture.clone());
}
}