Sounds on shared and server
This commit is contained in:
@@ -241,6 +241,8 @@ export async function load_client_mods(listings: ModListing[], mods: Mod[]) {
|
||||
fluid_rules,
|
||||
recipes: () => recipe_book,
|
||||
running: () => rules_setup,
|
||||
// rules only run here to guess what the player's own actions do, so this is the sound their action makes
|
||||
play_sound: (sound, x, y, z, options) => sounds.play(sound, { ...options, at: { x, y, z } }),
|
||||
}));
|
||||
rules_setup = false;
|
||||
check_recipe_types(recipe_book);
|
||||
|
||||
Reference in New Issue
Block a user