decomposition fix.

make decomposing leaves no longer traverse nodes that don't affect their
decomposition rate, when determining said rate. this means that they're
only affected by nodes that either touch them directly, or touch nodes
that affect them.
This commit is contained in:
trans_soup 2023-10-19 13:12:10 +02:00
parent a3319cf9ea
commit c4a70e45ce

View file

@ -64,6 +64,8 @@ blockgame.register_increasing_abm({
score = score + gain score = score + gain
return true return true
end end
return false
end, 4) end, 4)
return data.value + score return data.value + score