#307 fixes and cleanup

This commit is contained in:
Mikayla Fischler
2023-10-03 22:52:13 -04:00
parent b5e0183e54
commit ebabd99f2b
18 changed files with 65 additions and 100 deletions

View File

@@ -33,7 +33,7 @@ local function rad(args)
-- create new graphics element base object
local e = element.new(args)
e.value = types.new_zero_radiation_reading()
e.value = args.value or types.new_zero_radiation_reading()
local label_len = string.len(args.label)
local data_start = 1