Fix ReleaseSafe bug caused by undefined memory.

Fixes #169
This commit is contained in:
IntegratedQuantum 2024-01-21 12:52:16 +01:00
parent 08704ef4aa
commit 83f04993e8

View File

@ -61,6 +61,7 @@ pub fn init() !void {
for(storageList.*) |*val| {
val.mesh = Atomic(?*chunk_meshing.ChunkMesh).init(null);
val.rendered = false;
val.active = false;
}
}
for(&mapStorageLists) |*mapStorageList| {