From 960d442f9525d2b5e3f9c59345c53f0c60e00555 Mon Sep 17 00:00:00 2001 From: minertestdude <43986027+minertestdude@users.noreply.github.com> Date: Fri, 10 Apr 2020 06:43:50 +0200 Subject: [PATCH] Fix missing metal sounds for metal variant (tested in both games to work) --- init.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3dd369a..fbd720e 100644 --- a/init.lua +++ b/init.lua @@ -9,9 +9,11 @@ local moditems = {} if mineclone_path then -- means MineClone 2 is loaded, this is its core mod moditems.iron_item = "mcl_core:iron_ingot" -- MCL iron moditems.sounds_wood = mcl_sounds.node_sound_wood_defaults + moditems.sounds_metal = mcl_sounds.node_sound_metal_defaults else -- fallback, assume default (MineTest Game) is loaded, otherwise it will error anyway here. moditems.iron_item = "default:steel_ingot" -- default iron moditems.sounds_wood = default.node_sound_wood_defaults + moditems.sounds_metal = default.node_sound_metal_defaults end -- load settings from minetest @@ -99,7 +101,7 @@ if pontoons_steel_pontoons then liquids_pointable = true, is_ground_content = false, groups = {cracky = 1, level = 2}, - sounds = moditems.sounds_wood(), + sounds = moditems.sounds_metal(), }) if default_modpath then