Open link in next tab

Characters ― Perchance Generator

https://perchance.org/w9j95c3c6i

Characters ― Perchance Generator

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.