fix perks without random option being random

This commit is contained in:
bgkillas 2024-11-02 19:06:27 -04:00
parent 2da5701fe2
commit 0bdb95c3ff

View file

@ -1,3 +1,7 @@
if not ctx.proxy_opts.randomize_perks then
return
end
local function hide_perk(perk_id) local function hide_perk(perk_id)
local perk_data = get_perk_with_id(perk_list, perk_id) local perk_data = get_perk_with_id(perk_list, perk_id)
perk_data.not_in_default_perk_pool = true perk_data.not_in_default_perk_pool = true