mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-03 16:50:37 +02:00
Use const instead of immediate string
This commit is contained in:
@ -13,7 +13,7 @@ local run = function(pos, node, run_name)
|
|||||||
local demand = 10000
|
local demand = 10000
|
||||||
local remain = 0.9
|
local remain = 0.9
|
||||||
|
|
||||||
if run_name == "RE" then
|
if run_name == technic.receive then
|
||||||
-- do not run TWICE (it is PR-RE machine), save lua cycles
|
-- do not run TWICE (it is PR-RE machine), save lua cycles
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user