Consistency improvement and remove dead code

This commit is contained in:
Jeija
2012-08-10 18:58:21 +02:00
parent fe6c9f3e09
commit 8fa6894953
2 changed files with 11 additions and 26 deletions

View File

@@ -117,16 +117,6 @@ end
--Conductor system stuff
function mesecon:register_conductor(onstate, offstate)
local i=0
while mesecon.conductors[i]~=nil do
i=i+1
end
mesecon.conductors[i]={}
mesecon.conductors[i].on=onstate
mesecon.conductors[i].off=offstate
end
function mesecon:get_conductor_on(offstate)
local i=0
while mesecon.conductors[i]~=nil do