From 97f4cd1db969b1dde74027e1ec2a840185cdbd0c Mon Sep 17 00:00:00 2001 From: Joshua Yanovski Date: Wed, 12 Feb 2020 17:32:22 +0100 Subject: [PATCH] Fix water alt. --- world/src/sim/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/src/sim/mod.rs b/world/src/sim/mod.rs index 1a9ce5fae2..d5eafa11c9 100644 --- a/world/src/sim/mod.rs +++ b/world/src/sim/mod.rs @@ -1185,7 +1185,7 @@ impl WorldSim { 0.0 } else { // This is not flowing into the ocean, so we can use the existing water_alt. - water_alt[chunk_idx] as f32 + water_alt[/* chunk_idx */lake_idx] as f32 } }) .collect::>()