With the new update, everyone who has Wonkey unlocked now don't see them in the Compendium, and everyone who didn't have Wonkey unlocked will now see them in the Compendium.
function GetFEVisibleCharacterList() local all = {} for i,character in ipairs(DST_CHARACTERLIST) do local add_char = true if character == "wonkey" and TheGenericKV:GetKV("wonkey_played") then --only show wonkey if we've played him add_char = false end if add_char then table.insert( all, character ) end end return all end
With the introduction of the 'TheGenericKV' class, the function responsible for returning visible characters was updated, however, the 'wonkey_played' attribute will now set 'add_char' to false if unlocked, which is not the intended behaviour I would imagine.
if character == "wonkey" and TheGenericKV:GetKV("wonkey_played") ~= "played" then
or
if character == "wonkey" and not TheGenericKV:GetKV("wonkey_played") then
should fix the issue simply.
Cheers.
Steps to Reproduce
1. Don't unlock Wonkey
2. Notice theyre in the Compendium
3. Unlock them
4. Notice theyre now not in the Compendium any longer
-
1
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now