1
0
mirror of https://github.com/XeonSquared/OC-Copper.git synced 2024-11-14 13:58:05 +11:00

Fix stupid mistake when updating rsctl.

This commit is contained in:
20kdc 2017-03-25 11:30:57 +00:00
parent bb8671c202
commit e582a8e7ce
2 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,9 @@
%-- EXAMPLE IoT Redstone Top Controller --
UR=CG("redstone")
UM={["true"]=0,["false"]=15}
function UT(p)
if ({["true"]=0,["false"]=15})[p]then
if UM[p]then
US=p
UR.setOutput(1,UM[p])
end

View File

@ -53,7 +53,7 @@ TS(t,g..S.char(a,1)..d)x=RP(j,R4)end
RN[t..g]=x
end j()end
-- EXAMPLE IoT Redstone Top Controller --
UR=CG("redstone")function UT(p)if ({["true"]=0,["false"]=15})[p]then
UR=CG("redstone")UM={["true"]=0,["false"]=15}function UT(p)if UM[p]then
US=p
UR.setOutput(1,UM[p])end
end