summaryrefslogtreecommitdiff
path: root/technic/machines/MV
diff options
context:
space:
mode:
Diffstat (limited to 'technic/machines/MV')
-rw-r--r--technic/machines/MV/power_radiator.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/machines/MV/power_radiator.lua b/technic/machines/MV/power_radiator.lua
index 4f9a837..560f8a9 100644
--- a/technic/machines/MV/power_radiator.lua
+++ b/technic/machines/MV/power_radiator.lua
@@ -149,7 +149,7 @@ minetest.register_abm({
interval = 1,
chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider)
- local meta = minetest.env:get_meta(pos)
+ local meta = minetest.get_meta(pos)
local eu_input = meta:get_int("MV_EU_input")
local eu_demand = meta:get_int("MV_EU_demand")