Skin support was recently added for the lightning conductor. However, the original code for spawning it was not deleted, resulting in it being spawned twice.
inst._lightningrod = SpawnPrefab("mastupgrade_lightningrod") if inst.saved_upgraded_from_item ~= nil and inst.saved_upgraded_from_item.linked_skinname then inst._lightningrod = SpawnPrefab("mastupgrade_lightningrod", inst.saved_upgraded_from_item.linked_skinname, inst.saved_upgraded_from_item.skin_id ) else inst._lightningrod = SpawnPrefab("mastupgrade_lightningrod") end inst._lightningrod.entity:SetParent(inst.entity)
This is fixed by simply removing the first line in the snippet.
Steps to Reproduce
1. Build a mast
2. Upgrade it with the lightning conductor
3. Go to 0,0 and see the duplicate, floating lightning conductor there
-
4
-
3
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