mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-01-28 03:57:22 +02:00
minor fix
This commit is contained in:
parent
bc56388028
commit
d096d4ca4e
@ -36,10 +36,12 @@ function Public.set(key, value)
|
||||
end
|
||||
|
||||
function Public.remove(key, sub_key)
|
||||
if key then
|
||||
if key and sub_key then
|
||||
if this[key] and this[key][sub_key] then
|
||||
this[key][sub_key] = nil
|
||||
elseif this[key] then
|
||||
end
|
||||
elseif key then
|
||||
if this[key] then
|
||||
this[key] = nil
|
||||
end
|
||||
end
|
||||
|
@ -253,10 +253,12 @@ function Public.set(key, value)
|
||||
end
|
||||
|
||||
function Public.remove(key, sub_key)
|
||||
if key then
|
||||
if key and sub_key then
|
||||
if this[key] and this[key][sub_key] then
|
||||
this[key][sub_key] = nil
|
||||
elseif this[key] then
|
||||
end
|
||||
elseif key then
|
||||
if this[key] then
|
||||
this[key] = nil
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user