Handle unlabeled CC computers in factory debug
This commit is contained in:
@@ -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 "<not set>"))
|
||||
emit("Uptime timer/clock: " .. tostring(os.clock()))
|
||||
emit("Peripheral count: " .. tostring(#names))
|
||||
emit(string.rep("=", 72))
|
||||
|
||||
Reference in New Issue
Block a user