Fixed Error text being shown on intended behaviour
Fixed hips and butt-change text unintentionally being hidden
Other unrelated changes
The first commit is code tidying only. I wanted to keep that separate from the actual fixes.
And theres some DRY-coding, noise reduction and I've removed the unused var x.
Note
I considered changing the type of BodyParts.Butt.rating and BodyParts.Hips.rating from Number to int since Number allows float-values and float-values are not intended for these two rating-vars.
However: Currently theres nothing broken aka both vars are never set to a float value AFAICS by grepping through the codebase.
Maybe later and if I'm in the mood of testing if loading old saves won't break.
Or in other words: No need to disarm a bomb that has yet to be armed.
Fixes
hips
andbutt
-change text unintentionally being hiddenOther unrelated changes
The first commit is code tidying only. I wanted to keep that separate from the actual fixes. And theres some DRY-coding, noise reduction and I've removed the unused var
x
.Note
I considered changing the type of
BodyParts.Butt.rating
andBodyParts.Hips.rating
fromNumber
toint
sinceNumber
allows float-values and float-values are not intended for these two rating-vars. However: Currently theres nothing broken aka both vars are never set to a float value AFAICS by grepping through the codebase. Maybe later and if I'm in the mood of testing if loading old saves won't break. Or in other words: No need to disarm a bomb that has yet to be armed.