Skip to content

When multiple nodes are being added to the same parent, AddedNode only runs the for the first node. #357

Description

@wyrdautumn

I'm working on two mods simultaneously at the moment, and both want to add separate nodes to NCard for their own mechanics. However, I've discovered that only the first mod in my load order actually gets its node added (changing load order changes which one), and when I try to test my code, I'm finding that the AddedNode for the one that isn't active doesn't run at all. Looking at the PatchNodeReady() method in SpireField.cs, I think what's happening is that when the first node is added NCard gets flagged as having already been patched, and so when the second AddedNode comes into play the method decides the patch was already done and immediately returns out? I might be misunderstanding the code though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions