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:
10
init.lua
10
init.lua
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user