From ea007cff4e3bcde8b96b28e893232fc066f0dbdd Mon Sep 17 00:00:00 2001 From: Mathieu Moalic Date: Wed, 11 Dec 2024 12:07:58 +0100 Subject: [PATCH] Fix chunk saving crashing --- src/engine_old/mesh_old/mesh.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/engine_old/mesh_old/mesh.go b/src/engine_old/mesh_old/mesh.go index 30186cb9..56100f0d 100644 --- a/src/engine_old/mesh_old/mesh.go +++ b/src/engine_old/mesh_old/mesh.go @@ -31,9 +31,6 @@ func (m Mesh) prettyPrint() { } func (m *Mesh) Size() [3]int { - if !m.created { - panic("Mesh not created yet") - } return [3]int{m.Nx, m.Ny, m.Nz} } func (m *Mesh) GetNi() (int, int, int) {