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
1 changed files with 2 additions and 0 deletions

View File

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