From 4cbda79b150effce5e7f8f3410a0f2b32415d3c7 Mon Sep 17 00:00:00 2001 From: mint Date: Thu, 6 May 2021 00:26:02 -0400 Subject: [PATCH] attempt at making disk drive check work (i don't know how to code in lua sowwy) --- neodj.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neodj.lua b/neodj.lua index f259fd6..d0a05d0 100644 --- a/neodj.lua +++ b/neodj.lua @@ -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