diff options
author | Jeija <norrepli@gmail.com> | 2012-12-16 12:00:11 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2012-12-16 12:00:11 +0100 |
commit | c76c274cc01c1c3b04c247604d7c0c933ab4e7a6 (patch) | |
tree | 90347ab5cc76c1800bd2959ac305fb81dc4442cc | |
parent | a1852204fbc2bd056f3286f316c94076d5fd7e2b (diff) | |
download | mesecons-c76c274cc01c1c3b04c247604d7c0c933ab4e7a6.tar mesecons-c76c274cc01c1c3b04c247604d7c0c933ab4e7a6.tar.gz mesecons-c76c274cc01c1c3b04c247604d7c0c933ab4e7a6.tar.bz2 mesecons-c76c274cc01c1c3b04c247604d7c0c933ab4e7a6.tar.xz mesecons-c76c274cc01c1c3b04c247604d7c0c933ab4e7a6.zip |
Remove mesecons:updatenode
-rw-r--r-- | mesecons/internal.lua | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mesecons/internal.lua b/mesecons/internal.lua index bde0593..e9cde2d 100644 --- a/mesecons/internal.lua +++ b/mesecons/internal.lua @@ -47,7 +47,6 @@ -- mesecon:rules_link(output, input, dug_outputrules) --> Returns true if outputposition + outputrules = inputposition and inputposition + inputrules = outputposition (if the two positions connect) -- mesecon:rules_link_anydir(outp., inp., d_outpr.) --> Same as rules mesecon:rules_link but also returns true if output and input are swapped -- mesecon:is_powered(pos) --> Returns true if pos is powered by a receptor or a conductor --- mesecon:updatenode(pos) | deprecated --> Updates the state of pos and surroundings e.g. when newly placed by a piston -- RULES ROTATION helpsers -- mesecon:rotate_rules_right(rules) @@ -410,14 +409,6 @@ function mesecon:is_powered(pos) return false end -function mesecon:updatenode(pos) - if mesecon:is_powered(pos) then - mesecon:turnon(pos) - else - mesecon:turnoff(pos) - end -end - --Rules rotation Functions: function mesecon:rotate_rules_right(rules) local nr={}; |