Update export options

This commit is contained in:
2024-10-14 20:23:18 +02:00
parent 72fc22f510
commit d51021c5e1
2 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -206,8 +206,10 @@ local stinkies = StrSplit(aura_env.config.stinkies, ",")
for i, part in ipairs(stinkies) do
local datum = StrSplit(part, ":")
local name = strtrim(datum[1])
local threat = tonumber(strtrim(datum[2] or "0"))
aura_env.stinkies[name] = Stinky.new(name, threat)
if name then
local threat = tonumber(strtrim(datum[2] or "5"))
aura_env.stinkies[name] = Stinky.new(name, threat)
end
end
local killSpamTime = 30