Sounds on the client

This commit is contained in:
2026-11-22 07:21:29 -03:00
parent f308ab52f1
commit 47934b272c
21 changed files with 1002 additions and 25 deletions
+2
View File
@@ -223,6 +223,7 @@ function as_loaded_mod(file: string, mod: Mod): LoadedMod {
entities: entries(mod.data.entities),
entity_models: entries(mod.data.entity_models),
animations: entries(mod.data.animations ?? []),
sounds: entries(mod.data.sounds ?? []),
effects: entries(mod.data.effects),
fluids: entries(mod.data.fluids),
tags: entries(mod.data.tags),
@@ -239,5 +240,6 @@ function as_loaded_mod(file: string, mod: Mod): LoadedMod {
textures: [...mod.textures.keys()],
texture_files: new Map(),
texture_json: new Map(mod.texture_json),
sound_files: new Map(),
};
}