Fixed biome weights not working with non multiples of 10

As per title
just a theoretical question

Out of curiosity would just isModded=true; 

be better than   if (!isModded) isModded = true;

or

1 read var
2 if var = true jump 4
3 else set var = true
4 etc...

vs
1. set var = true