diff options
author | Ernesto Lanchares <elancha98@proton.me> | 2025-04-04 18:57:21 +0200 |
---|---|---|
committer | Ernesto Lanchares <elancha98@proton.me> | 2025-04-04 18:57:21 +0200 |
commit | ecff349a31843a4c0472b76089dfa0d9c9b8102d (patch) | |
tree | b842b2f781bef715e9e158f7ef0490d448853110 /src/ecs | |
parent | 25e51f9aead0d1de6d6a9a9660d9363ef145316e (diff) |
Diffstat (limited to 'src/ecs')
-rw-r--r-- | src/ecs/entities.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ecs/entities.zig b/src/ecs/entities.zig index fc573ce..a591bb4 100644 --- a/src/ecs/entities.zig +++ b/src/ecs/entities.zig @@ -22,6 +22,7 @@ pub const Human = struct { speed: components.Speed, }; +// TODO(ernesto): Move pool to its own file pub const Pool = struct { humans: std.MultiArrayList(Human), resources: Resources, @@ -64,6 +65,7 @@ pub const Pool = struct { self.humans.deinit(self.allocator); self.system_groups.deinit(); + self.sync_groups.deinit(); self.thread_pool.deinit(); self.allocator.destroy(self.thread_pool); } |