mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-09-09 12:16:24 -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;
|
var emissionTextureArray: TextureArray = undefined;
|
||||||
|
|
||||||
const ParticleIndex = u16;
|
const ParticleIndex = u16;
|
||||||
var particleTypeHashmap: std.StringHashMapUnmanaged(ParticleIndex) = undefined;
|
var particleTypeHashmap: std.StringHashMapUnmanaged(ParticleIndex) = .{};
|
||||||
|
|
||||||
pub fn init() void {
|
pub fn init() void {
|
||||||
types = .init(arenaAllocator);
|
types = .init(arenaAllocator);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user