diff --git a/startup.lua b/startup.lua index 2a21a43..d4befac 100644 --- a/startup.lua +++ b/startup.lua @@ -2,11 +2,11 @@ print("--- HCF ---") print() -- Colored print for code readability -local function colorprint(text, clr) - local old = text.getTextColor() - text.setTextColor(clr) +local function printcolor(text, clr) + local old = term.getTextColor() + term.setTextColor(clr) print(text) - text.setTextColor(old) + term.setTextColor(old) end -- Boot folder check