whoops wrong function
This commit is contained in:
parent
e467a679a1
commit
6dcb436e55
|
@ -1,8 +1,8 @@
|
||||||
accentColor = colors.gray
|
accentColor = colors.gray
|
||||||
buttonColor = colors.lightGray
|
buttonColor = colors.lightGray
|
||||||
backgroundColor = colors.black
|
backgroundColor = colors.black
|
||||||
drive = peripheral.getType("disk_drive")
|
drive = peripheral.find("disk_drive")
|
||||||
if drive == 0 then
|
if drive == nil then
|
||||||
print "No drive"
|
print "No drive"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue