From ef8c75b9dc47142527fc1741d75cf34c66c3ac9d Mon Sep 17 00:00:00 2001 From: Lizzy Fleckenstein Date: Tue, 16 May 2023 15:20:39 +0200 Subject: Split state.rs and add debug menu --- src/gfx/map/mesh.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gfx/map/mesh.rs') diff --git a/src/gfx/map/mesh.rs b/src/gfx/map/mesh.rs index 139b6c7..3d56ad8 100644 --- a/src/gfx/map/mesh.rs +++ b/src/gfx/map/mesh.rs @@ -93,7 +93,7 @@ pub(super) fn create_mesh( if let Some(ndef) = &mkinfo.nodes[ncontent as usize] { if match draw_type { DrawType::Cube => ndef.draw_type == DrawType::Cube, - DrawType::Liquid => ncontent == content, + DrawType::Liquid => ndef.draw_type == DrawType::Cube || ncontent == content, _ => false, } { continue; -- cgit v1.2.3