added assets

This commit is contained in:
vfs committed 2026-01-10 09:03:17 +01:00
1 parent 32900a0b5a
commit da8589a700
715 files changed
+195 -48

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ pub fn spawn(chunk: *shared.chunk.Chunk(), comptime T: type, allocator: std.mem.
inline for (@typeInfo(shared.chunk.Chunk()).@"struct".fields) |field| {
if (field.type == shared.chunk.Storage(T)) {
try @field(chunk, field.name).items.append(allocator, entity);
return;
break;
}
}