whoops wrong function

This commit is contained in:
mint 2021-05-06 00:34:40 -04:00
parent e467a679a1
commit 6dcb436e55
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
accentColor = colors.gray
buttonColor = colors.lightGray
backgroundColor = colors.black
drive = peripheral.getType("disk_drive")
if drive == 0 then
drive = peripheral.find("disk_drive")
if drive == nil then
print "No drive"
end