mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-10 20:40:27 +01:00
Use const instead of immediate string
This commit is contained in:
parent
6361c587c2
commit
58e8fa03b6
|
@ -13,7 +13,7 @@ local run = function(pos, node, run_name)
|
|||
local demand = 10000
|
||||
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
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user