diff --git a/create_factory_debug.lua b/create_factory_debug.lua index 4ce91fb..e4eab44 100644 --- a/create_factory_debug.lua +++ b/create_factory_debug.lua @@ -115,7 +115,8 @@ table.sort(names) emit("ATM10 CREATE FACTORY PERIPHERAL DEBUG") emit("Computer ID: " .. tostring(os.getComputerID())) -emit("Computer label: " .. tostring(os.getComputerLabel())) +local computerLabel = os.getComputerLabel() +emit("Computer label: " .. tostring(computerLabel or "")) emit("Uptime timer/clock: " .. tostring(os.clock())) emit("Peripheral count: " .. tostring(#names)) emit(string.rep("=", 72))