Jump to content

Redundant parameter error


DustofStars
  • Pending

In prefabs/wx78_common.lua,

line 878~885: 

local function SetHeartVeins(inst, enabled)
    if inst._has_heartveins ~= enabled then
        inst._has_heartveins = enabled
        if not inst.isplayer then -- Player is handled in SGwilson.
            inst:PushEvent("heartveins_changed", inst._has_heartveins)
        end
    end
end

line 728~736

    if config.heart then
        WX78Common.SetHeartVeins(inst, true, doer)
        if not inst.components.socket_shadow_heart then
            inst:AddComponent("socket_shadow_heart")
        end
    else
        inst:RemoveComponent("socket_shadow_heart")
        WX78Common.SetHeartVeins(inst, false, doer)
    end

 


Steps to Reproduce

See prefabs/wx78_common.lua line 728~736, 878~885.




User Feedback


There are no comments to display.



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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...