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:
parent
bb8671c202
commit
e582a8e7ce
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user