Fix technic_run declaration for hydro generator
authorZefram <zefram@fysh.org>
Mon, 4 Aug 2014 13:58:38 +0000 (14:58 +0100)
committerZefram <zefram@fysh.org>
Mon, 4 Aug 2014 13:58:38 +0000 (14:58 +0100)
technic/machines/LV/water_mill.lua

index d1584fa44e606938bac3143525de2cb88f76aa2f..9088d1d493cae448a04fec39410c676aa3cc23a8 100644 (file)
@@ -80,7 +80,7 @@ minetest.register_node("technic:water_mill", {
                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 @@ minetest.register_node("technic:water_mill_active", {
        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",
 })