mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-03-17 20:58:13 +02:00
Minor change
This commit is contained in:
parent
840937015b
commit
a2a0e92ad1
@ -252,9 +252,13 @@ function Public.set(key, value)
|
||||
end
|
||||
end
|
||||
|
||||
function Public.remove(key)
|
||||
function Public.remove(key, sub_key)
|
||||
if key then
|
||||
this[key] = nil
|
||||
if this[key] and this[key][sub_key] then
|
||||
this[key][sub_key] = nil
|
||||
elseif this[key] then
|
||||
this[key] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user