mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 03:06:55 -04:00
The particle hashmap was never inited
This commit is contained in:
parent
a59ac2b011
commit
03a5e2cf38
@ -34,7 +34,7 @@ pub const ParticleManager = struct {
|
||||
var emissionTextureArray: TextureArray = undefined;
|
||||
|
||||
const ParticleIndex = u16;
|
||||
var particleTypeHashmap: std.StringHashMapUnmanaged(ParticleIndex) = undefined;
|
||||
var particleTypeHashmap: std.StringHashMapUnmanaged(ParticleIndex) = .{};
|
||||
|
||||
pub fn init() void {
|
||||
types = .init(arenaAllocator);
|
||||
|
Loading…
x
Reference in New Issue
Block a user