From 1d0687556a52891aeadc0e8d9a58e44c53cb826b Mon Sep 17 00:00:00 2001
From: Zefram <zefram@fysh.org>
Date: Fri, 15 Aug 2014 13:25:46 +0200
Subject: [PATCH] Fix music player's sound management

---
 technic/machines/LV/water_mill.lua |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/technic/machines/LV/water_mill.lua b/technic/machines/LV/water_mill.lua
index d1584fa..9088d1d 100644
--- a/technic/machines/LV/water_mill.lua
+++ b/technic/machines/LV/water_mill.lua
@@ -80,7 +80,7 @@
 		meta:set_string("infotext", S("Hydro %s Generator"):format("LV"))
 		meta:set_int("LV_EU_supply", 0)
 	end,
-	technic_run,
+	technic_run = run,
 })
 
 minetest.register_node("technic:water_mill_active", {
@@ -93,7 +93,7 @@
 	legacy_facedir_simple = true,
 	sounds = default.node_sound_wood_defaults(),
 	drop = "technic:water_mill",
-	technic_run,
+	technic_run = run,
 	technic_disabled_machine_name = "technic:water_mill",
 })
 

--
Gitblit v1.8.0