Here's the code in question:

For some reason, this is not evaluating correctly, and even when g DOES equal Male, it can still be selected. This is happening with other parts of the generator too. I've also tried putting it in ^[if (g != "Male") {1} else {0}] format, but that has the same issue.
Anyone have any ideas? I did try reloading the page just in case it was a stored info thing, but alas.
2 Comments
VioneT@lemmy.world · 2 pts · 2y
You have the items in
genderto bemale,female,nonbinary, etc., and notMale,Female,Nonbinaryin which you are checkingmaletoMalewhich is not equal/same, you need to have the dynamic odds check lowercased.lembasbreadenthusiast@lemmy.world · 1 pts · 2y
Thanks!