From 3f20b45ed33ca1ac393f386832e74bbc0270f83b Mon Sep 17 00:00:00 2001 From: Rendo Date: Mon, 3 Aug 2026 15:17:01 +0500 Subject: [PATCH] Spotted bottleneck --- src/view/game.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/view/game.rs b/src/view/game.rs index 2b56fd9..9b14f1b 100644 --- a/src/view/game.rs +++ b/src/view/game.rs @@ -34,9 +34,10 @@ pub fn debug_setup_grid(mut grid: ResMut) { use crate::grid::GridElement; let mut tool = grid.manipulate(); tool.fill_xyz(5, 0, 1, 5, 0, 14, GridElement::Solid); - tool.fill_xyz(0, 0, 0, 4, 0, 15, GridElement::Water { amount: MAX_FLUID_AMOUNT }); + //tool.fill_xyz(0, 0, 0, 4, 0, 15, GridElement::Water { amount: MAX_FLUID_AMOUNT }); //tool.set_xyz(0, 0, 6, GridElement::Source { source_amount: MAX_FLUID_AMOUNT }); - tool.set_xyz(15,0, 6, GridElement::Drain); + tool.set_xyz(0, 8, 6, GridElement::Source { source_amount: MAX_FLUID_AMOUNT }); + //tool.set_xyz(15,0, 6, GridElement::Drain); } pub fn setup_view_cubes(