Use constants instead of immediate strings

This commit is contained in:
Maciej 'agaran' Pijanka 2017-03-04 19:03:40 +01:00
parent 237c93a396
commit 6361c587c2

View File

@ -222,9 +222,9 @@ minetest.register_abm({
end
end
run_nodes(PR_nodes, "PR")
run_nodes(RE_nodes, "RE")
run_nodes(BA_nodes, "BA")
run_nodes(PR_nodes, technic.producer)
run_nodes(RE_nodes, technic.receiver)
run_nodes(BA_nodes, technic.battery)
-- Strings for the meta data
local eu_demand_str = tier.."_EU_demand"