From 17d7164d5b6aa569d913e778f4c22d068a890abc Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Mon, 14 Jun 2021 19:17:12 -0700 Subject: [PATCH] Minor change in order --- init.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/init.lua b/init.lua index f7166ef..52be720 100644 --- a/init.lua +++ b/init.lua @@ -135,16 +135,6 @@ function sounds.node_sand(tbl) return tbl end -function sounds.node_stone(tbl) - tbl = tbl or {} - - tbl.footstep = tbl.footstep or {name="sounds_step_hard", gain=0.3} - tbl.dug = tbl.dug or {name="sounds_step_hard", gain=1.0} - - sounds.node(tbl) - return tbl -end - function sounds.node_snow(tbl) tbl = tbl or {} @@ -157,6 +147,16 @@ function sounds.node_snow(tbl) return tbl end +function sounds.node_stone(tbl) + tbl = tbl or {} + + tbl.footstep = tbl.footstep or {name="sounds_step_hard", gain=0.3} + tbl.dug = tbl.dug or {name="sounds_step_hard", gain=1.0} + + sounds.node(tbl) + return tbl +end + function sounds.node_water(tbl) tbl = tbl or {}