sarbian / ModuleManager

177 stars 96 forks source link

:NEEDS clause doesn't get removed unless another node/value at the same level has :NEEDS unsatisfied #94

Closed blowfishpro closed 6 years ago

blowfishpro commented 6 years ago

Input:

SOME_NODE
{
    value = 1
}

@SOME_NODE
{
    @value = 2
    @value:NEEDS[mod1] += 4
}

expected:

SOME_NODE
{
    value = 6
}

actual

SOME_NODE
{
    value = 4
}
blowfishpro commented 6 years ago

This appears to be an issue with the :NEEDS checker