attempt at making disk drive check work (i don't know how to code in lua sowwy)

This commit is contained in:
mint 2021-05-06 00:26:02 -04:00
parent 2d760dd5d7
commit 4cbda79b15
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ accentColor = colors.gray
buttonColor = colors.lightGray
backgroundColor = colors.black
drive = peripheral.getType("disk_drive")
if !drive then
if drive = 0 then
print "No drive"
end