Add "Car Battery" modifiers (#584)

This commit is contained in:
Valentin Lamprière authored and GitHub committed 2023-10-09 23:56:57 +02:00
1 parent 1fb5c302c7
commit 85983e7d5e
5 files changed
+96 -3

No files matched your search

+5 -1
View File
@@ -1123,7 +1123,11 @@ end
function EID:updateDescriptionsViaTable(changeTable, tableToUpdate)
for k,v in pairs(changeTable) do
tableToUpdate[k] = v
if v == "" then
tableToUpdate[k] = nil
else
tableToUpdate[k] = v
end
end
end