1
0
mirror of https://github.com/Sokomine/cottages.git synced 2026-01-11 19:45:42 +01:00

corrected bug with sounds

This commit is contained in:
Sokomine
2019-02-17 14:27:49 +01:00
parent bd257ee16e
commit 479e76b854
10 changed files with 47 additions and 38 deletions

View File

@@ -29,10 +29,20 @@ else
cottages.S = function(s) return s end
end
cottages.sounds = {}
-- MineClone2 needs special treatment; default is only needed for
-- crafting materials and sounds (less important)
if( not( minetest.get_modpath("default"))) then
default = {};
cottages.sounds.wood = nil
cottages.sounds.dirt = nil
cottages.sounds.leaves = nil
cottages.sounds.stone = nil
else
cottages.sounds.wood = default.node_sound_wood_defaults()
cottages.sounds.dirt = default.node_sound_dirt_defaults()
cottages.sounds.stone = default.node_sound_stone_defaults()
cottages.sounds.leaves = default.node_sound_leaves_defaults()
end
--cottages.config_use_mesh_barrel = false;
--cottages.config_use_mesh_handmill = true;